demos: use larger buffer for snprintf() call, see bug 21220
authorBrian Paul <brianp@vmware.com>
Thu, 16 Apr 2009 15:25:52 +0000 (09:25 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 16 Apr 2009 15:25:52 +0000 (09:25 -0600)
progs/samples/blendeq.c

index cd0474c..037d06f 100644 (file)
@@ -100,7 +100,7 @@ static void PrintColorStrings( void )
 {
     GLubyte ubbuf[3];
     int i, xleft, xright;
-    char colorString[18];
+    char colorString[100];
 
     xleft = 5 + windW/4;
     xright = 5 + windW/2;