diff --git a/3rdparty/fonts/fnt.cxx b/3rdparty/fonts/fnt.cxx index 7729fb5..9aca71e 100644 --- a/3rdparty/fonts/fnt.cxx +++ b/3rdparty/fonts/fnt.cxx @@ -281,6 +281,9 @@ void fntTexFont::puts ( sgVec3 curpos, float pointsize, float italic, const char while ( *s != '\0' ) { + + unsigned int cc = (unsigned char) *s ; + if (*s == '\n') { curpos[0] = origx ; @@ -288,10 +291,8 @@ void fntTexFont::puts ( sgVec3 curpos, float pointsize, float italic, const char } else - unsigned int cc = (unsigned char) *s ; - - SG_LOG(SG_GUI,SG_ALERT, "low_putch " << cc); + SG_LOG(SG_GUI,SG_ALERT, "lputs->ow_putch " << cc); //low_putch ( curpos, pointsize, italic, *s ) ; low_putch ( curpos, pointsize, italic, cc ) ;