mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
buttons.cpp:fix to workaround for to small screen
This commit is contained in:
@@ -132,7 +132,7 @@ int paintButtons( const int &x,
|
|||||||
|
|
||||||
//workaround for to small screen (1)
|
//workaround for to small screen (1)
|
||||||
int skip_last_button_txt = false;
|
int skip_last_button_txt = false;
|
||||||
if((w_button*cnt) >(uint) w_footer){
|
if((w_footer > 0 && w_button*cnt) >(uint) w_footer){
|
||||||
w_button= ((w_footer+w_max_icon)/(cnt));
|
w_button= ((w_footer+w_max_icon)/(cnt));
|
||||||
skip_last_button_txt = true;
|
skip_last_button_txt = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user