projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NLS2TXT] Add missed check for default char
[reactos.git]
/
rosapps
/
applications
/
devutils
/
txt2nls
/
nls.c
diff --git
a/rosapps/applications/devutils/txt2nls/nls.c
b/rosapps/applications/devutils/txt2nls/nls.c
index
d2b75d0
..
6067736
100644
(file)
--- a/
rosapps/applications/devutils/txt2nls/nls.c
+++ b/
rosapps/applications/devutils/txt2nls/nls.c
@@
-178,7
+178,7
@@
nls_from_txt(const char *txt_file_path, const char *nls_file_path)
}
/* OEM glyph table size in words */
- size = (glyph_table ?
(256 * sizeof(uint16_t))
: 0);
+ size = (glyph_table ?
256
: 0);
if (fwrite(&size, 1, sizeof(size), file) != sizeof(size))
{