diff --git a/dlls/setupapi/parser.c b/dlls/setupapi/parser.c index 3ce0b928e0c..53c9e3968b8 100644 --- a/dlls/setupapi/parser.c +++ b/dlls/setupapi/parser.c @@ -852,9 +852,7 @@ static DWORD parse_buffer( struct inf_file *file, const WCHAR *buffer, const WCH struct parser parser; const WCHAR *pos = buffer; - if (*pos == 0xfeff) pos++; /* skip Unicode BOM signature */ - - parser.start = pos; + parser.start = buffer; parser.end = end; parser.file = file; parser.line = NULL;