[CREATE_NLS]

Initialize line count before incrementing it

svn path=/trunk/; revision=67801
This commit is contained in:
Pierre Schweitzer 2015-05-17 09:38:32 +00:00
parent 65d178a69b
commit 22fd66f79e

View file

@ -424,6 +424,8 @@ static WCHAR *Load_OEM2Unicode_Table(char *table_name, WCHAR *def_table, UINT cp
return NULL;
}
line = 0;
while(fgets(buf, sizeof(buf), file)) {
line++;
p = buf;