Author: pschweitzer
Date: Sun May 17 09:38:32 2015
New Revision: 67801
URL:
http://svn.reactos.org/svn/reactos?rev=67801&view=rev
Log:
[CREATE_NLS]
Initialize line count before incrementing it
Modified:
trunk/reactos/tools/create_nls/create_nls.c
Modified: trunk/reactos/tools/create_nls/create_nls.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/create_nls/create_nl…
==============================================================================
--- trunk/reactos/tools/create_nls/create_nls.c [iso-8859-1] (original)
+++ trunk/reactos/tools/create_nls/create_nls.c [iso-8859-1] Sun May 17 09:38:32 2015
@@ -423,6 +423,8 @@
free(table);
return NULL;
}
+
+ line = 0;
while(fgets(buf, sizeof(buf), file)) {
line++;