IfErrors clears the error flag again

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2400 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-03-30 15:08:24 +00:00
parent 31bbb272b2
commit 8f849c07e5
4 changed files with 11 additions and 6 deletions

View file

@ -108,7 +108,8 @@ const char * NSISCALL loadHeaders(void)
#endif
{
g_inst_section=(section *) (g_inst_header + 1);
g_inst_page=(page *) (g_inst_section + g_inst_header->num_sections);
num_sections=g_inst_header->num_sections;
g_inst_page=(page *) (g_inst_section + num_sections);
}
g_inst_entry=(entry *) (g_inst_page + g_inst_cmnheader->num_pages);
g_db_strtab = (char *) (g_inst_entry + g_inst_cmnheader->num_entries);