diff --git a/Contrib/InstallOptions/InstallerOptions.cpp b/Contrib/InstallOptions/InstallerOptions.cpp index bd32b129..48c95efa 100644 --- a/Contrib/InstallOptions/InstallerOptions.cpp +++ b/Contrib/InstallOptions/InstallerOptions.cpp @@ -138,6 +138,8 @@ HWND hBackButton = NULL; HINSTANCE m_hInstance = NULL; +struct _stack_t *pFilenameStackEntry = NULL; + char *pszFilename = NULL; char *pszTitle = NULL; char *pszCancelButtonText = NULL; @@ -997,6 +999,7 @@ int createCfgDlg() GetWindowText(hMainWindow,old_title,sizeof(old_title)); SetWindowText(hMainWindow,pszTitle); } + pFilenameStackEntry = *g_stacktop; *g_stacktop = (*g_stacktop)->next; char tmp[32]; wsprintf(tmp,"%d",hConfigWindow); @@ -1041,7 +1044,7 @@ void showCfgDlg() if (cw_vis) ShowWindow(childwnd,SW_SHOWNA); - FREE(pszFilename); + FREE(pFilenameStackEntry); FREE(pszTitle); FREE(pszCancelButtonText); FREE(pszNextButtonText); diff --git a/Plugins/InstallOptions.dll b/Plugins/InstallOptions.dll index dcace2c0..54e57c7c 100644 Binary files a/Plugins/InstallOptions.dll and b/Plugins/InstallOptions.dll differ