Merge branch 'dvbsi++' of coolstreamtech.de:cst-public-gui-neutrino into valgrind

This commit is contained in:
[CST] Focus
2012-05-02 21:09:15 +04:00

View File

@@ -132,7 +132,7 @@ int paintButtons( const int &x,
//workaround for to small screen (1)
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));
skip_last_button_txt = true;
}