From 4d0eea3b2388dce288fb445d55fcee79195dffa6 Mon Sep 17 00:00:00 2001 From: martii Date: Mon, 9 Dec 2013 04:34:20 +0100 Subject: [PATCH] gui/bouquetlist: fix 73152bd and 4dcc804 --- src/gui/bedit/bouqueteditor_channels.cpp | 1 + src/gui/bouquetlist.cpp | 1 + 2 files changed, 2 insertions(+) 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) {