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