Missed some strings that should be processed - thanks mikem4600

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2833 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-09-05 10:40:31 +00:00
parent 3d7820f5dc
commit 2ef11e5606
2 changed files with 7 additions and 6 deletions

View file

@ -73,7 +73,8 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInst,LPSTR lpszCmdParam,
// g_caption is used as a temp var here
if (!my_GetTempFileName(g_caption, state_temp_dir))
{
mystrcpy(state_temp_dir + GetWindowsDirectory(state_temp_dir, sizeof(state_temp_dir)), "\\Temp");
GetWindowsDirectory(state_temp_dir, sizeof(state_temp_dir));
lstrcat(state_temp_dir, "\\Temp");
validate_filename(state_temp_dir);
CreateDirectory(state_temp_dir, NULL);
if (!my_GetTempFileName(g_caption, state_temp_dir))