fix crash because of NULL command line pointer

svn path=/trunk/; revision=18378
This commit is contained in:
Martin Fuchs 2005-10-09 15:12:13 +00:00
parent 8b65b69d7c
commit 3edf5a41cc

View file

@ -561,7 +561,8 @@ void explorer_show_frame(int cmdShow, LPTSTR lpCmdLine)
cmd._cmdShow = cmdShow;
// parse command line options, which may overwrite the MDI flag
cmd.ParseCmdLine(lpCmdLine);
if (lpCmdLine)
cmd.ParseCmdLine(lpCmdLine);
// create main window
MainFrameBase::Create(cmd);