Author: duncan
Date: Mon Dec 10 11:22:34 2007
New Revision: 10193

Log:
Fix for page-up of TV guide applied


Modified:
   branches/rel-1-7/freevo/src/tv/tvguide.py
   branches/rel-1/freevo/src/tv/tvguide.py

Modified: branches/rel-1-7/freevo/src/tv/tvguide.py
==============================================================================
--- branches/rel-1-7/freevo/src/tv/tvguide.py   (original)
+++ branches/rel-1-7/freevo/src/tv/tvguide.py   Mon Dec 10 11:22:34 2007
@@ -570,7 +570,7 @@
         # calc real changed value
         value = channel_pos - i
 
-        if value < 0 and channel_pos and channel_pos <= start_pos:
+        if value < 0 and channel_pos >= 0 and channel_pos <= start_pos:
             # move start channel up
             start_channel = self.guide.chan_list[start_pos + value].id
 

Modified: branches/rel-1/freevo/src/tv/tvguide.py
==============================================================================
--- branches/rel-1/freevo/src/tv/tvguide.py     (original)
+++ branches/rel-1/freevo/src/tv/tvguide.py     Mon Dec 10 11:22:34 2007
@@ -570,7 +570,7 @@
         # calc real changed value
         value = channel_pos - i
 
-        if value < 0 and channel_pos and channel_pos <= start_pos:
+        if value < 0 and channel_pos >= 0 and channel_pos <= start_pos:
             # move start channel up
             start_channel = self.guide.chan_list[start_pos + value].id
 

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to