From 974831e7f8ba5f46d67da1aded0b5e1eb64d2c3c Mon Sep 17 00:00:00 2001 From: dheyse Date: Mon, 20 May 2002 21:01:33 +0000 Subject: [PATCH] Fixed previous fix so it compiles. git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@27 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/freeglut-1.3/freeglut_font.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/freeglut/freeglut/freeglut-1.3/freeglut_font.c b/freeglut/freeglut/freeglut-1.3/freeglut_font.c index 1115b4e..59d70eb 100644 --- a/freeglut/freeglut/freeglut-1.3/freeglut_font.c +++ b/freeglut/freeglut/freeglut-1.3/freeglut_font.c @@ -137,7 +137,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 < font->256 ); + freeglut_return_if_fail( character >= 0 && character < 256 ); /* * Then find the character we want to draw @@ -196,7 +196,7 @@ int FGAPIENTRY glutBitmapWidth( void* fontID, int character ) /* * Make sure the character we want to output is valid */ - freeglut_return_val_if_fail( character > 0 && character < font->256, 0 ); + freeglut_return_val_if_fail( character > 0 && character < 256, 0 ); /* * Scan the font looking for the specified character @@ -246,6 +246,7 @@ void FGAPIENTRY glutStrokeCharacter( void* fontID, int character ) */ int FGAPIENTRY glutStrokeWidth( void* fontID, int character ) { + const SFG_StrokeChar *schar; /* * First of all we'll need a font to use */