- Plug-in command can now come in any order in the script

- Second plug-in DLL doesn't produce errors anymore
- Infinite loop bug fixed (again)


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@678 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2002-08-09 22:12:10 +00:00
parent bc6494155b
commit 0b31694486
8 changed files with 153 additions and 83 deletions

View file

@ -300,7 +300,7 @@ int ui_doinstall(void)
{
// Added by Amir Szekely 3rd August 2002
// Multilingual support
char pa=1;
char pa=0;
int num=g_inst_header->str_tables_num;
LANGID user_lang=GetUserDefaultLangID();
int size=num*sizeof(common_strings);
@ -327,14 +327,14 @@ lang_again:
#ifdef NSIS_CONFIG_UNINSTALL_SUPPORT
cur_uninstall_strings_table+=size;
#endif
pa--;
pa++;
break;
}
common_strings_tables[size].lang_id&=0x3ff; // primary lang
}
if (pa) {
if (!pa) {
user_lang&=0x3ff; // primary lang
pa--;
pa++;
goto lang_again;
}
}