This commit is contained in:
parent
92a77871ea
commit
2eab8c71d1
4 changed files with 46 additions and 57 deletions
|
@ -96,8 +96,9 @@ BOOL CMapEditApp::InitInstance()
|
|||
CCommandLineInfo cmdInfo;
|
||||
ParseCommandLine(cmdInfo);
|
||||
// Prevent creating new doc on startup (should still open cmd line file tho)
|
||||
// if (cmdInfo.m_nShellCommand==CCommandLineInfo::FileNew) cmdInfo.m_nShellCommand=CCommandLineInfo::FileNothing;
|
||||
|
||||
#ifndef _DEBUG
|
||||
if (cmdInfo.m_nShellCommand==CCommandLineInfo::FileNew) cmdInfo.m_nShellCommand=CCommandLineInfo::FileNothing;
|
||||
#endif
|
||||
// Dispatch commands specified on the command line
|
||||
if (!ProcessShellCommand(cmdInfo)) return FALSE;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue