win32: Edit button of Lua Console now opens a script with "edit" rather than "open" on ShellExecute.

This commit is contained in:
gocha 2009-10-19 03:49:50 +00:00
parent 06b13db0e5
commit 2db8e74050
1 changed files with 1 additions and 1 deletions

View File

@ -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, // tell the OS to open the file with its associated editor,
// without blocking on it or leaving a command window open. // 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) if(created)
{ {