diff --git a/3rdparty/fonts/fnt.cxx b/3rdparty/fonts/fnt.cxx index e55ca7d..9d6ead9 100644 --- a/3rdparty/fonts/fnt.cxx +++ b/3rdparty/fonts/fnt.cxx @@ -284,7 +284,7 @@ void fntTexFont::puts ( sgVec3 curpos, float pointsize, float italic, const char while ( *s != '\0' ) { - unsigned int cc = (unsigned char) *s ; + unsigned int cc = (unsigned char) *(s++) ; if (*s == '\n') { @@ -319,7 +319,6 @@ void fntTexFont::puts ( sgVec3 curpos, float pointsize, float italic, const char //low_putch ( curpos, pointsize, italic, *s ) ; low_putch ( curpos, pointsize, italic, cc ) ; - s++ ; } }