X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=freeglut-1.3%2Ffreeglut_font.c;h=3c3051973b44ef3745005ff517012f52ddd5d895;hb=8a3a7b9ef4c0decf69de9abfc9ee1f8e1729957d;hp=20bbed41770cfea213dc5436b00092aef801e074;hpb=a82e219413778d1fd55d270af98e9ad6a97e25a0;p=freeglut diff --git a/freeglut-1.3/freeglut_font.c b/freeglut-1.3/freeglut_font.c index 20bbed4..3c30519 100644 --- a/freeglut-1.3/freeglut_font.c +++ b/freeglut-1.3/freeglut_font.c @@ -164,7 +164,7 @@ void FGAPIENTRY glutBitmapCharacter( void* fontID, int character ) glBitmap( face[ 0 ], font->Height, /* The bitmap's width and height */ font->xorig, font->yorig, /* The origin -- what on earth? */ - (float)(face[ 0 ] + 1), 0.0, /* The raster advance -- inc. x */ + (float)(face[ 0 ]), 0.0, /* The raster advance -- inc. x */ (face + 1) /* The packed bitmap data... */ ); @@ -226,7 +226,7 @@ void FGAPIENTRY glutBitmapString( void* fontID, const char *string ) glBitmap( face[ 0 ], font->Height, /* The bitmap's width and height */ font->xorig, font->yorig, /* The origin -- what on earth? */ - (float)(face[ 0 ] + 1), 0.0, /* The raster advance -- inc. x */ + (float)(face[ 0 ]), 0.0, /* The raster advance -- inc. x */ (face + 1) /* The packed bitmap data... */ ) ; }