The path is validate when the real uninstaller starts. There is no need to validate twice.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2658 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-06-18 16:27:02 +00:00
parent 0b4f2a9809
commit 3505d41bbb

View file

@ -329,7 +329,6 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInst,LPSTR lpszCmdParam,
#endif
if (state_install_directory[0]) mystrcpy(ibuf,state_install_directory);
else trimslashtoend(ibuf);
if (!is_valid_instpath(ibuf)) break;
done++;
lstrcat(buf2,"\" ");
lstrcat(buf2,realcmds);
@ -373,4 +372,3 @@ end:
ExitProcess(ret);
}