]> git.mxchange.org Git - flightgear.git/blobdiff - Cockpit/hud_card.cxx
C++ ifying ...
[flightgear.git] / Cockpit / hud_card.cxx
index 55f8d1df078c17695b0bf30ed1207ec22f496bb1..1abb0342a194425459d33424fe56b70c358c4818 100644 (file)
@@ -7,7 +7,7 @@
 #endif
 #include <stdlib.h>
 #include <string.h>
-#include <Aircraft/aircraft.h>
+#include <Aircraft/aircraft.hxx>
 #include <Debug/fg_debug.h>
 #include <Include/fg_constants.h>
 #include <Math/fg_random.h>
 #include <Math/polar3d.hxx>
 #include <Scenery/scenery.hxx>
 #include <Time/fg_timer.hxx>
-#include <Weather/weather.h>
 
 
 #include "hud.hxx"
-//========== Top of hud_card class member definitions =============\r
+//========== Top of hud_card class member definitions =============
 
 hud_card ::
 hud_card( int       x,
@@ -81,7 +80,7 @@ draw( void ) //  (HUD_scale * pscale )
   /* register */ int i;
   char TextScale[80];
   bool condition;
-  int disp_val;
+  int disp_val = 0;
   POINT mid_scr    = get_centroid();
   double cur_value = get_value();
   RECT   scrn_rect = get_location();