mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
change getRenderWidth() default to UTF8
Origin commit data
------------------
Commit: 8b91cda918
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Origin message was:
------------------
- change getRenderWidth() default to UTF8
This commit is contained in:
@@ -140,9 +140,9 @@ int paintButtons( const int &x,
|
||||
buttontext[i] = g_Locale->getText(content[i].locale);
|
||||
//text width
|
||||
if (alt_buttontext != NULL && i == buttontext_id)
|
||||
fwidth[i] = font->getRenderWidth(alt_buttontext, true); //...with an alternate buttontext
|
||||
fwidth[i] = font->getRenderWidth(alt_buttontext); //...with an alternate buttontext
|
||||
else
|
||||
fwidth[i] = font->getRenderWidth(buttontext[i], true);
|
||||
fwidth[i] = font->getRenderWidth(buttontext[i]);
|
||||
w_text += fwidth[i];
|
||||
count_labels++;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user