]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/HUD/HUD_label.cxx
Merge branch 'next' of D:\Git_New\flightgear into next
[flightgear.git] / src / Instrumentation / HUD / HUD_label.cxx
index 98a6a1df0974612cd95815a9f47e8af1c6e3be3a..5cf2bcb57f0498809e2b525b7cf5ccbdc149a471 100644 (file)
@@ -144,7 +144,7 @@ void HUD::Label::draw(void)
     char buf[BUFSIZE+1];
        buf[ BUFSIZE] = '\0';  // Be sure to terminate properly
     if (_mode == NONE)
-        snprintf(buf, BUFSIZE, _format.c_str());
+        snprintf(buf, BUFSIZE, _format.c_str(), 0);
     else if (_mode == STRING)
         snprintf(buf, BUFSIZE, _format.c_str(), _input.getStringValue());
     else if (_mode == INT)