mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
remove w_max()-calls to define menu-width, because ...
w-max() returns a pixel-value, but menus need a percentage-value.
Origin commit data
------------------
Commit: 9041bff59c
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-04-24 (Fri, 24 Apr 2015)
Origin message was:
------------------
- remove w_max()-calls to define menu-width, because ...
w-max() returns a pixel-value, but menus need a percentage-value.
This commit is contained in:
@@ -119,7 +119,7 @@ CUserMenuSetup::CUserMenuSetup(neutrino_locale_t menue_title, int menue_button)
|
||||
local = menue_title;
|
||||
button = menue_button;
|
||||
max_char = 24;
|
||||
width = w_max (40, 10);
|
||||
width = 40;
|
||||
if (menue_button < (int) g_settings.usermenu.size())
|
||||
pref_name = g_settings.usermenu[button]->title; //set current button name as prefered name
|
||||
forwarder = NULL;
|
||||
|
Reference in New Issue
Block a user