[mythtv] patch - channel rec priority inData < 0 bug

Kirby Vandivort kvandivo at ks.uiuc.edu
Mon Dec 29 23:45:14 EST 2003


attached patch fixes a bug in the channel rec priority screen that
can occur if there is less than a full page of channels.  It would
appear that the bug has already been found and fixed in the title
rec priority code.

-- 

Kirby Vandivort                      Theoretical and 
Senior Research Programmer            Computational Biophysics 
Email: kvandivo at ks.uiuc.edu          3051 Beckman Institute
http://www.ks.uiuc.edu/~kvandivo/    University of Illinois
Phone: (217) 244-5711                405 N. Mathews Ave
Fax  : (217) 244-6078                Urbana, IL  61801, USA
-------------- next part --------------
Index: programs/mythfrontend/channelrecpriority.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/programs/mythfrontend/channelrecpriority.cpp,v
retrieving revision 1.8
diff -b -u -2 -r1.8 channelrecpriority.cpp
--- programs/mythfrontend/channelrecpriority.cpp	6 Dec 2003 00:01:45 -0000	1.8
+++ programs/mythfrontend/channelrecpriority.cpp	30 Dec 2003 04:41:38 -0000
@@ -274,4 +274,7 @@
     }
 
+    if (inData < 0) 
+        inData = 0;
+
     if (inList >= listCount)
         inList = listCount - 1;


More information about the mythtv-dev mailing list