summaryrefslogtreecommitdiff
path: root/menuitems.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2006-04-28 18:00:00 +0200
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2006-04-28 18:00:00 +0200
commit56e5836b54ab1a7f5ad5b067e867a0c9392c5e5b (patch)
treeb00c8d961eb4e208d05b7486bf25998c54f6e72f /menuitems.c
parent880c3ddb94c09d6cca411363ed6f981d4e150fd2 (diff)
downloadvdr-patch-lnbsharing-56e5836b54ab1a7f5ad5b067e867a0c9392c5e5b.tar.gz
vdr-patch-lnbsharing-56e5836b54ab1a7f5ad5b067e867a0c9392c5e5b.tar.bz2
Version 1.3.49vdr-1.3.49
- Fixed initializing 'noapiv' in the Makefile (reported by Ronny Kornexl). - Fixed extracting APIVERSION to work with older versions of 'sed' (reported by Oliver Endriss; thanks also to Udo Richter for a shorter version of the 'sed' expression). - Fixed broken APIVERSION extraction line in 'newplugin' (thanks to Oliver Endriss). - Fixed entering '0' in a cMenuEditIntItem (reported by Mirko Dölle). - Updated the Italian OSD texts (thanks to Nino Gerbino). - Added a note about adding 'INCLUDES += -I$(DVBDIR)/include' to an existing Make.config (problem reported by Markus Ehrnsperger). - Fixed handling the cPluginManager::Active() result when pressing the "Power" key (reported by Werner Färber). - Added a hint about commenting out the line '#define USE_FADVISE' in tools.c in case of problems with replaying in fast forward mode if the video directory is mounted via a Samba share (reported by Andy Grobb). - Changed the "Really restart?" prompt in the call to cPluginManager::Active() in menu.c to "restart anyway?" (suggested by Rolf Ahrenberg). - Removed the obsolete "'1' for encrypted radio channels" part from the description of the VPID in vdr.5 (reported by Alexander Hans). - Fixed tuning to the channel of a VPS timer if the device is the actual device.
Diffstat (limited to 'menuitems.c')
-rw-r--r--menuitems.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/menuitems.c b/menuitems.c
index ef7cccc..1bca487 100644
--- a/menuitems.c
+++ b/menuitems.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menuitems.c 1.43 2006/04/23 11:39:48 kls Exp $
+ * $Id: menuitems.c 1.44 2006/04/25 15:59:02 kls Exp $
*/
#include "menuitems.h"
@@ -80,10 +80,10 @@ eOSState cMenuEditIntItem::ProcessKey(eKeys Key)
case kNone: break;
case k0 ... k9:
if (fresh) {
- *value = 0;
+ newValue = 0;
fresh = false;
}
- newValue = *value * 10 + (Key - k0);
+ newValue = newValue * 10 + (Key - k0);
break;
case kLeft: // TODO might want to increase the delta if repeated quickly?
newValue = *value - 1;