Author: dchapyshev
Date: Sat Sep 17 12:18:28 2016
New Revision: 72701
URL:
http://svn.reactos.org/svn/reactos?rev=72701&view=rev
Log:
[TXT2NLS] Write correct size for wide char table
Modified:
trunk/rosapps/applications/devutils/txt2nls/nls.c
Modified: trunk/rosapps/applications/devutils/txt2nls/nls.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/txt2…
==============================================================================
--- trunk/rosapps/applications/devutils/txt2nls/nls.c [iso-8859-1] (original)
+++ trunk/rosapps/applications/devutils/txt2nls/nls.c [iso-8859-1] Sat Sep 17 12:18:28
2016
@@ -213,7 +213,7 @@
}
/* Write wide char table */
- if (fwrite(wc_table, 1, (65535 * header.MaximumCharacterSize), file) != (65535 *
header.MaximumCharacterSize))
+ if (fwrite(wc_table, 1, (65536 * header.MaximumCharacterSize), file) != (65536 *
header.MaximumCharacterSize))
{
printf("Unable to write NLS file.\n");
goto Cleanup;