This commit is contained in:
parent
302b1cb2e9
commit
2cc37a2eab
11 changed files with 76 additions and 21 deletions
|
@ -95,8 +95,9 @@ BOOL CMapEditApp::InitInstance()
|
|||
CCommandLineInfo cmdInfo;
|
||||
ParseCommandLine(cmdInfo);
|
||||
// Prevent creating new doc on startup (should still open cmd line file tho)
|
||||
#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