This commit is contained in:
Daveo 2000-11-15 22:15:58 +00:00
parent 92a77871ea
commit 2eab8c71d1
4 changed files with 46 additions and 57 deletions

View file

@ -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;