This commit is contained in:
Daveo 2001-01-21 18:04:00 +00:00
parent 302b1cb2e9
commit 2cc37a2eab
11 changed files with 76 additions and 21 deletions

View file

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