fix crash because of NULL command line pointer
Modified:
branches/lean-explorer/reactos/subsys/system/explorer/explorer.cpp
_____
Modified:
branches/lean-explorer/reactos/subsys/system/explorer/explorer.cpp
--- branches/lean-explorer/reactos/subsys/system/explorer/explorer.cpp
2005-10-09 15:04:18 UTC (rev 18376)
+++ branches/lean-explorer/reactos/subsys/system/explorer/explorer.cpp
2005-10-09 15:12:01 UTC (rev 18377)
@@ -448,7 +448,8 @@
cmd._cmdShow = cmdShow;
// parse command line options
- cmd.ParseCmdLine(lpCmdLine);
+ if (lpCmdLine)
+ cmd.ParseCmdLine(lpCmdLine);
// Open the first child window after initializing the
application
if (cmd.IsValidPath())
Show replies by date