]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/panel.cxx
NavDisplay: fix update lag when switching range or centre.
[flightgear.git] / src / Cockpit / panel.cxx
index 916771726e6fdb81fe97c57446784c3fbb60f927..3ac15621ec80db5471284feae7c2b0e50896171e 100644 (file)
@@ -57,7 +57,7 @@
 #include <Main/fg_props.hxx>
 #include <Main/viewmgr.hxx>
 #include <Time/light.hxx>
-#include <GUI/new_gui.hxx>     // FGFontCache
+#include <GUI/FGFontCache.hxx> 
 #include <Main/viewer.hxx>
 #include <Instrumentation/dclgps.hxx>
 
@@ -1176,7 +1176,7 @@ FGTextLayer::setFontName(const string &name)
   FGFontCache *fc = globals->get_fontcache();
   fntFont* font = fc->getTexFont(_font_name.c_str());
   if (!font) {
-      SG_LOG(SG_GENERAL, SG_WARN, "unable to find font:" << name);
+      SG_LOG(SG_COCKPIT, SG_WARN, "unable to find font:" << name);
   }
 }