]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/new_gui.cxx
replace depreciated plib symbols with their new forms
[flightgear.git] / src / GUI / new_gui.cxx
index a0885b845caad84022e1c7b4f96a098f62615c34..f45b17ba761e5c3ec3a2618336ba6b4b26ed119c 100644 (file)
@@ -147,8 +147,9 @@ NewGUI::getDialog (const string &name)
 {
     if(_dialog_props.find(name) != _dialog_props.end())
         return _dialog_props[name];
-    else
-        return 0;
+
+    SG_LOG(SG_GENERAL, SG_ALERT, "dialog '" << name << "' missing");
+    return 0;
 }
 
 void