mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
fix crash because of NULL command line pointer
svn path=/trunk/; revision=18378
This commit is contained in:
parent
8b65b69d7c
commit
3edf5a41cc
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue