1
0
forked from 0ad/0ad

When I said "Now fixed", I was wrong. But it's fixed now.

This was SVN commit r1140.
This commit is contained in:
Ykkrosh 2004-09-06 12:54:35 +00:00
parent 2d153bac2d
commit 03e3de50ed

View File

@ -928,7 +928,7 @@ void CGUI::DrawText(const SGUIText &Text, const CColor &DefaultColor,
// TODO Gee: (2004-09-04) Why are font corrupted if inputted float value?
glTranslatef((GLfloat)int(pos.x+it->m_Pos.x), (GLfloat)int(pos.y+it->m_Pos.y), z);
glColor4f(color.r, color.g, color.b, color.a);
glwprintf(L"%ls", it->m_String); // "%ls" is necessary in case m_String contains % symbols
glwprintf(L"%ls", it->m_String.c_str()); // "%ls" is necessary in case m_String contains % symbols
glPopMatrix();