Ticket #4433: patch-4433.cpp

File patch-4433.cpp, 994 bytes (added by ylee@…, 16 years ago)

Fix for #4433 on 0.20.2

Line 
1*** ../mythtv-0.20.2.orig/libs/libmythtv/tv_play.cpp    2006-09-30 10:17:20.000000000 -0700
2--- ../mythtv-0.20.2/libs/libmythtv/tv_play.cpp 2008-01-05 19:03:27.528410759 -0800
3***************
4*** 2432,2441 ****
5--- 2432,2444 ----
6          }
7          else if (action == "JUMPPREV")
8          {
9+         if (lastProgram != NULL)
10+           {
11              nvp->SetBookmark();
12              exitPlayer = true;
13              wantsToQuit = true;
14              jumpToProgram = true;
15+           }
16          }
17          else if (action == "JUMPREC")
18              DisplayJumpMenuSoon();
19***************
20*** 6095,6104 ****
21--- 6098,6110 ----
22              DoQueueTranscode("Low Quality");
23          else if (action == "JUMPPREV")
24          {
25+         if (lastProgram != NULL)
26+           {
27              nvp->SetBookmark();
28              exitPlayer = true;
29              wantsToQuit = true;
30              jumpToProgram = true;
31+           }
32          }
33          else if (action == "JUMPREC")
34              DisplayJumpMenuSoon();