Skip the Unicode signature if present.

This commit is contained in:
Alexandre Julliard 2005-05-31 13:29:48 +00:00
parent f0c62a89ea
commit ec3cf77d65
1 changed files with 3 additions and 1 deletions

View File

@ -852,7 +852,9 @@ static DWORD parse_buffer( struct inf_file *file, const WCHAR *buffer, const WCH
struct parser parser;
const WCHAR *pos = buffer;
parser.start = buffer;
if (*pos == 0xfeff) pos++; /* skip Unicode BOM signature */
parser.start = pos;
parser.end = end;
parser.file = file;
parser.line = NULL;