mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 10:21:10 +02:00
driver/fontrenderer: let RenderString() and getRenderWidth() default to UTF8
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user