add code comments

svn path=/trunk/; revision=18195
This commit is contained in:
Martin Fuchs 2005-10-01 18:14:17 +00:00
parent 6a3529155a
commit b1230b8ee5

View file

@ -549,9 +549,11 @@ void explorer_show_frame(int cmdshow, LPTSTR lpCmdLine)
XMLPos explorer_options = g_Globals.get_cfg("general/explorer"); XMLPos explorer_options = g_Globals.get_cfg("general/explorer");
XS_String mdiStr = XMLString(explorer_options, "mdi"); 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()) if (mdiStr.empty())
Dialog::DoModal(IDD_MDI_SDI, WINDOW_CREATOR(MdiSdiDlg), g_Globals._hwndDesktop); 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); bool mdi = XMLBool(explorer_options, "mdi", true);
// create main window // create main window