]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/HUD/HUD_label.cxx
Quiet some log output.
[flightgear.git] / src / Instrumentation / HUD / HUD_label.cxx
index ddadedad3e7be01cd66a5f3488ff7310c5a7af7f..5414cf02fdd05a307858087ecd187c8cda7a246d 100644 (file)
@@ -24,7 +24,9 @@
 #endif
 
 #include "HUD.hxx"
+#include "HUD_private.hxx"
 
+#include <Main/globals.hxx>
 
 HUD::Label::Label(HUD *hud, const SGPropertyNode *n, float x, float y) :
     Item(hud, n, x, y),
@@ -80,7 +82,7 @@ HUD::Label::Label(HUD *hud, const SGPropertyNode *n, float x, float y) :
 
 void HUD::Label::draw(void)
 {
-    if (!(_mode == NONE || (_input.isValid() && blink())))
+    if (!((_mode == NONE || _input.isValid()) && blink()))
         return;
 
     if (_box) {