Fixed unicode rendering bug

dev-ui
Piotr Dziwinski 2012-12-27 16:32:46 +01:00
parent 233f5a7c59
commit 45bee618f9
1 changed files with 1 additions and 1 deletions

View File

@ -677,7 +677,7 @@ void CText::DrawCharAndAdjustPos(UTF8Char ch, FontType font, float size, Math::P
return;
int width = 1;
if (ch.c1 < 32) { // FIXME add support for chars with code 9 10 23
if (ch.c1 > 0 && ch.c1 < 32) { // FIXME add support for chars with code 9 10 23
ch.c1 = ' ';
ch.c2 = 0;
ch.c3 = 0;