Padding, padding, padding...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2492 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
d0b6153cf2
commit
5dde782d41
1 changed files with 5 additions and 1 deletions
|
@ -94,7 +94,11 @@ StringTable* CEXEBuild::GetTable(LANGID &lang) {
|
|||
ERROR_MSG("Internal compiler error #12345: malloc(%d) failed\n",sizeof(StringTable));
|
||||
return 0;
|
||||
}
|
||||
memset(table, 0, sizeof(LANGID) + sizeof(int) + sizeof(common_strings)*2 + sizeof(installer_strings) + sizeof(uninstall_strings));
|
||||
table->dlg_offset = 0;
|
||||
memset(&(table->common), 0, sizeof(common_strings));
|
||||
memset(&(table->ucommon), 0, sizeof(common_strings));
|
||||
memset(&(table->installer), 0, sizeof(installer_strings));
|
||||
memset(&(table->uninstall), 0, sizeof(uninstall_strings));
|
||||
table->nlf = 0;
|
||||
|
||||
table->lang_id = lang;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue