Commits

Bill Meltsner  committed dc0395d

(Hopefully) fixed bug where extended ASCII characters would not display properly.

  • Participants
  • Parent commits 7d1716e

Comments (0)

Files changed (1)

File src/modules/graphics/opengl/Font.cpp

 		glRotatef(LOVE_TODEG(angle), 0, 0, 1.0f);
 		glScalef(sx, sy, 1.0f);
 		for (unsigned int i = 0; i < text.size(); i++) {
-			int g = (int)text[i];
+			unsigned char g = (unsigned char)text[i];
 			if (!glyphs[g]) g = 32; // space
 			glPushMatrix();
 			glTranslatef(0, round(getHeight()), 0);