Fixed a bug that caused the second plug-in DLL not to get extracted

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@677 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2002-08-09 18:59:13 +00:00
parent 3e33df5e0c
commit bc6494155b
5 changed files with 36 additions and 33 deletions

View file

@ -12,6 +12,10 @@
char g_log_file[1024];
#endif
#ifdef NSIS_CONFIG_PLUGIN_SUPPORT
extern char plugins_temp_dir[NSIS_MAX_STRLEN];
#endif
char g_usrvars[24][NSIS_MAX_STRLEN];
HANDLE g_hInstance;
@ -497,6 +501,10 @@ void process_string(char *out, const char *in)
wsprintf(out, "%u", cur_install_strings_table->lang_id);
break;
case VAR_CODES_START + 35: // PLUGINSDIR
lstrcpy(out, plugins_temp_dir);
break;
#if VAR_CODES_START + 34 >= 255
#error "Too many variables! Extend VAR_CODES_START!"
#endif