diff --git a/src/gui/bedit/bouqueteditor_channels.cpp b/src/gui/bedit/bouqueteditor_channels.cpp index fa2c3d9a4..24029c475 100644 --- a/src/gui/bedit/bouqueteditor_channels.cpp +++ b/src/gui/bedit/bouqueteditor_channels.cpp @@ -139,6 +139,7 @@ void CBEChannelWidget::paint() liststart = (selected/listmaxshow)*listmaxshow; int lastnum = liststart + listmaxshow; + numwidth = 0; int maxDigitWidth = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_NUMBER]->getMaxDigitWidth(); int _lastnum = lastnum; while (_lastnum) { diff --git a/src/gui/bouquetlist.cpp b/src/gui/bouquetlist.cpp index 22d896689..0ee809b31 100644 --- a/src/gui/bouquetlist.cpp +++ b/src/gui/bouquetlist.cpp @@ -600,6 +600,7 @@ void CBouquetList::paint() int lastnum = liststart + listmaxshow; int bsize = Bouquets.empty() ? 1 : Bouquets.size(); + numwidth = 0; int maxDigitWidth = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_NUMBER]->getMaxDigitWidth(); int _lastnum = lastnum; while (_lastnum) {