Fixed the char[] array length to fully encompass the strings bring written

to them.
This commit is contained in:
Robert Osfield 2002-07-20 15:01:49 +00:00
parent 745478e193
commit 2f48bef57e

View File

@ -1509,10 +1509,10 @@ void displaytext(int x, int y, char *s)
int writePrims( const int ypos, osg::Statistics& stats)
{
char clin[100]; // buffer to print
char ctmp[12];
char clin[128]; // buffer to print
char ctmp[32];
char intro[32]; // start of first line
int npix=0; // offset from ypos
char intro[12]; // start of first line
static char *prtypes[]=
{
" Point", // GL_POINTS 0x0000