mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-11 07:30:57 +02:00
Merge remote-tracking branch 'check/next-cc'
...only build-tested, needs fixes
Origin commit data
------------------
Commit: ecd62d81d1
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-02-15 (Sat, 15 Feb 2014)
This commit is contained in:
@@ -139,7 +139,10 @@ int paintButtons( const int &x,
|
||||
if (content[i].locale) {
|
||||
buttontext[i] = g_Locale->getText(content[i].locale);
|
||||
//text width
|
||||
fwidth[i] = font->getRenderWidth(buttontext[i], true);
|
||||
if (alt_buttontext != NULL && i == buttontext_id)
|
||||
fwidth[i] = font->getRenderWidth(alt_buttontext, true); //...with an alternate buttontext
|
||||
else
|
||||
fwidth[i] = font->getRenderWidth(buttontext[i], true);
|
||||
w_text += fwidth[i];
|
||||
count_labels++;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user