X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=freeglut-1.3%2Ffreeglut_font.c;fp=freeglut-1.3%2Ffreeglut_font.c;h=c971ad6254a6df271cd1d9d84d2b4f53b1806477;hb=bc6f820efefd2ba90e20f7fc614704d9169e1ea8;hp=3c3051973b44ef3745005ff517012f52ddd5d895;hpb=e52b4f43a6c82fb50059cea5d3ef2c824de3b5c7;p=freeglut diff --git a/freeglut-1.3/freeglut_font.c b/freeglut-1.3/freeglut_font.c index 3c30519..c971ad6 100644 --- a/freeglut-1.3/freeglut_font.c +++ b/freeglut-1.3/freeglut_font.c @@ -32,7 +32,7 @@ #define G_LOG_DOMAIN "freeglut-font" #include "../include/GL/freeglut.h" -#include "../include/GL/freeglut_internal.h" +#include "freeglut_internal.h" /* * TODO BEFORE THE STABLE RELEASE: @@ -257,7 +257,7 @@ int FGAPIENTRY glutBitmapWidth( void* fontID, int character ) /* * Scan the font looking for the specified character */ - return( *(font->Characters[ character - 1 ]) + 1 ); + return( *(font->Characters[ character - 1 ]) ); } /* @@ -286,7 +286,7 @@ int FGAPIENTRY glutBitmapLength( void* fontID, const char* string ) this_line_length = 0 ; } else /* Not a carriage return, increment the length of this line */ - this_line_length += *(font->Characters[ string[ c ] - 1 ]) + 1 ; + this_line_length += *(font->Characters[ string[ c ] - 1 ]) ; } }