[ros-diffs] [mf] 18195: add code comments
mf at svn.reactos.com
mf at svn.reactos.com
Sat Oct 1 20:14:22 CEST 2005
add code comments
Modified: trunk/reactos/subsys/system/explorer/explorer.cpp
_____
Modified: trunk/reactos/subsys/system/explorer/explorer.cpp
--- trunk/reactos/subsys/system/explorer/explorer.cpp 2005-10-01
18:13:33 UTC (rev 18194)
+++ trunk/reactos/subsys/system/explorer/explorer.cpp 2005-10-01
18:14:17 UTC (rev 18195)
@@ -549,9 +549,11 @@
XMLPos explorer_options = g_Globals.get_cfg("general/explorer");
XS_String mdiStr = XMLString(explorer_options, "mdi");
+ // If there isn't yet the "mdi" setting in the configuration,
display MDI/SDI dialog.
if (mdiStr.empty())
Dialog::DoModal(IDD_MDI_SDI, WINDOW_CREATOR(MdiSdiDlg),
g_Globals._hwndDesktop);
+ // Now read the setting again and interpret it as boolean
value.
bool mdi = XMLBool(explorer_options, "mdi", true);
// create main window
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051001/618149bc/attachment.html
More information about the Ros-diffs
mailing list