Resolution for bug 809561 reported by Nigel Stewart, regarding a possible array under...
authorJ.C. Jones <jc@insufficient.coffee>
Sat, 20 Sep 2003 16:18:01 +0000 (16:18 +0000)
committerJ.C. Jones <jc@insufficient.coffee>
Sat, 20 Sep 2003 16:18:01 +0000 (16:18 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@194 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_font.c

index c1e1db6..596a491 100644 (file)
@@ -121,7 +121,7 @@ void FGAPIENTRY glutBitmapCharacter( void* fontID, int character )
   /*
    * Make sure the character we want to output is valid
    */
-  freeglut_return_if_fail( character >= 0 && character < 256 );
+  freeglut_return_if_fail( character >= 1 && character < 256 );
 
   /*
    * Then find the character we want to draw