no crash
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@965 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
e2f836c3b9
commit
867f2b6cfe
1 changed files with 0 additions and 1 deletions
|
@ -106,7 +106,6 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) {
|
|||
if (num==1) {
|
||||
DragQueryFile((HDROP)wParam,0,szTmp,MAX_PATH);
|
||||
if (lstrlen(szTmp)>0) {
|
||||
GlobalFree(g_script);
|
||||
g_script = (char *)GlobalAlloc(GPTR,sizeof(szTmp)+7);
|
||||
wsprintf(g_script,"/CD \"%s\"",szTmp);
|
||||
ResetObjects();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue