win32: Edit button of Lua Console now opens a script with "edit" rather than "open" on ShellExecute.
This commit is contained in:
parent
06b13db0e5
commit
2db8e74050
|
@ -598,7 +598,7 @@ LRESULT CALLBACK LuaScriptProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lPara
|
|||
{
|
||||
// tell the OS to open the file with its associated editor,
|
||||
// without blocking on it or leaving a command window open.
|
||||
ShellExecute(NULL, "open", PhysicalName, NULL, NULL, SW_SHOWNORMAL);
|
||||
ShellExecute(NULL, "edit", PhysicalName, NULL, NULL, SW_SHOWNORMAL);
|
||||
}
|
||||
if(created)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue