# include <config.h>
#endif
-#include <simgear/props/condition.hxx>
#include "HUD.hxx"
}
const int BUFSIZE = 256;
- char buf[BUFSIZE];
+ char buf[BUFSIZE+1];
+ buf[ BUFSIZE] = '\0'; // Be sure to terminate properly
if (_mode == NONE)
snprintf(buf, BUFSIZE, _format.c_str());
else if (_mode == STRING)