diff --git a/reactos/subsys/system/explorer/explorer.cpp b/reactos/subsys/system/explorer/explorer.cpp index b6558a3e374..e65a78c77bf 100644 --- a/reactos/subsys/system/explorer/explorer.cpp +++ b/reactos/subsys/system/explorer/explorer.cpp @@ -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);