- change RenderString() default to UTF8

This commit is contained in:
svenhoefer
2014-06-11 13:43:38 +02:00
parent 8b91cda918
commit 649d1b1f9d
41 changed files with 217 additions and 222 deletions

View File

@@ -205,7 +205,7 @@ int paintButtons( const int &x,
// paint icon and text
frameBuffer->paintIcon(icon, x_button , y_base - iconh[j]/2);
x_caption = x_button + iconw[j] + h_space;
font->RenderString(x_caption, y_caption, fwidth[j], caption, fcolor, 0, true);
font->RenderString(x_caption, y_caption, fwidth[j], caption, fcolor);
/* set next startposition x, if text is length=0 then offset is =renderwidth of icon,
* for generating buttons without captions,