projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65d178a
)
[CREATE_NLS]
author
Pierre Schweitzer
<pierre@reactos.org>
Sun, 17 May 2015 09:38:32 +0000
(09:38 +0000)
committer
Pierre Schweitzer
<pierre@reactos.org>
Sun, 17 May 2015 09:38:32 +0000
(09:38 +0000)
Initialize line count before incrementing it
svn path=/trunk/; revision=67801
reactos/tools/create_nls/create_nls.c
patch
|
blob
|
history
diff --git
a/reactos/tools/create_nls/create_nls.c
b/reactos/tools/create_nls/create_nls.c
index
63a8ac2
..
b657efd
100644
(file)
--- a/
reactos/tools/create_nls/create_nls.c
+++ b/
reactos/tools/create_nls/create_nls.c
@@
-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;