fixed bug #1891066 - Open Script Folder runs executable instead
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5541 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
1b3f415241
commit
efebf6bedd
1 changed files with 1296 additions and 1296 deletions
|
@ -479,7 +479,7 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) {
|
|||
char str[MAX_PATH],*str2;
|
||||
lstrcpy(str,g_sdata.input_script);
|
||||
str2=my_strrchr(str,'\\');
|
||||
if(str2!=NULL) *str2=0;
|
||||
if(str2!=NULL) *(str2+1)=0;
|
||||
ShellExecute(g_sdata.hwnd,"open",str,NULL,NULL,SW_SHOWNORMAL);
|
||||
}
|
||||
return TRUE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue