From 6a9a8d6d551e81b60b751e5e369f158a2cc77de7 Mon Sep 17 00:00:00 2001 From: thilo Date: Wed, 31 Aug 2011 16:25:02 +0000 Subject: [PATCH] *neutrino epgview: fix max value of progressbar see also: http://www.dbox2-tuning.net/forum/viewtopic.php?p=380156#p380156 thx Gaucho316 git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1641 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/gui/epgview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index 2339f0f53..fefed375e 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -670,7 +670,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start { int pbx = sx + 10 + widthl + 10 + ((ox-104-widthr-widthl-10-10-20)>>1); CProgressBar pb(true, -1, -1, 30, 100, 70, true); - pb.paintProgressBarDefault(pbx, sy+oy-height, 104, height-6, epg_done, 104); + pb.paintProgressBarDefault(pbx, sy+oy-height, 104, height-6, epg_done, 100); } GetPrevNextEPGData( epgData.eventID, &epgData.epg_times.startzeit ); @@ -713,7 +713,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start if ( epg_done!= -1 ) { CProgressBar pb(true, -1, -1, 30, 100, 70, true); int pbx = sx + 10 + widthl + 10 + ((ox-104-widthr-widthl-10-10-20)>>1); - pb.paintProgressBarDefault(pbx, sy+oy-height, 104, height-6, epg_done, 104); + pb.paintProgressBarDefault(pbx, sy+oy-height, 104, height-6, epg_done, 100); } } if(data == fadeTimer) {