driver/fontrenderer: let RenderString() and getRenderWidth() default to UTF8

This commit is contained in:
martii
2014-06-11 10:26:26 +02:00
committed by svenhoefer
parent 2047b51780
commit bec2e87412
3 changed files with 7 additions and 7 deletions

View File

@@ -62,7 +62,7 @@ bool CFBWindow::paintIcon(const char * const _filename, const int _x, const int
return 0;
}
void CFBWindow::RenderString(const font_t _font, const int _x, const int _y, const int _width, const char * const _text, const color_t _color, const int _boxheight, const bool _utf8_encoded)
void CFBWindow::RenderString(const font_t _font, const int _x, const int _y, const int _width, const char * const _text, const color_t _color, const int _boxheight, const unsigned int _flags)
{
((Font *)_font)->RenderString(x + _x, y + _y, _width, _text, _color, _boxheight, _utf8_encoded);
((Font *)_font)->RenderString(x + _x, y + _y, _width, _text, _color, _boxheight, _flags);
}