]> git.mxchange.org Git - flightgear.git/commitdiff
Expanded size for hud text strings to 64.
authorcurt <curt>
Sun, 10 Oct 1999 16:47:51 +0000 (16:47 +0000)
committercurt <curt>
Sun, 10 Oct 1999 16:47:51 +0000 (16:47 +0000)
src/Cockpit/hud.hxx

index 4b5006070cb4ed25713c09b81aca3193f0b94957..9a9ac7ba78e98e95162c501df46ce20e78c4aef4 100644 (file)
@@ -236,10 +236,10 @@ extern float HUD_matrix[16];
 class fgText {
 private:
     float x, y;
-    char msg[32];
+    char msg[64];
 public:
     fgText( float x = 0, float y = 0, char *c = NULL )
-        : x(x), y(y) {strncpy(msg,c,32-1);}
+        : x(x), y(y) {strncpy(msg,c,64-1);}
 
     fgText( const fgText & image )
         : x(image.x), y(image.y) {strcpy(msg,image.msg);}