mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 17:56:00 +00:00
[TXT2NLS] Write correct size for wide char table
svn path=/trunk/; revision=72701
This commit is contained in:
parent
942c4eff2d
commit
0d8a2edf6b
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ nls_from_txt(const char *txt_file_path, const char *nls_file_path)
|
|||
}
|
||||
|
||||
/* 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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue