mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
fix crash because of NULL command line pointer
svn path=/trunk/; revision=18378
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user