]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/new_gui.cxx
Fix windows build
[flightgear.git] / src / GUI / new_gui.cxx
index 4975b193fa40498e30ee2c59d4c7c6c14f90b218..eff8bbe2fb3379078c7d1531c4e33ce1dab0da30 100644 (file)
@@ -142,6 +142,7 @@ NewGUI::unbind ()
 void
 NewGUI::update (double delta_time_sec)
 {
+    SG_UNUSED(delta_time_sec);
     map<string,FGDialog *>::iterator iter = _active_dialogs.begin();
     for(/**/; iter != _active_dialogs.end(); iter++)
         iter->second->update();
@@ -323,6 +324,8 @@ NewGUI::readDir (const SGPath& path)
       cache->stampCacheFile(xmlPath);
       cache->writeStringProperty(xmlPath.str(), name);
     } // of directory children iteration
+  
+    txn.commit();
 }\f
 ////////////////////////////////////////////////////////////////////////
 // Style handling.