diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2008-12-13 12:22:36 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2008-12-13 12:22:36 +0100 |
commit | 3c7d1a16aca49c647320c0ee67759007fa06a845 (patch) | |
tree | e1e42d585ace0a9e94fdce643ae9bf265bc810c6 /menuitems.c | |
parent | 3abe4f2b91df3748acafce4bb90e7f296745f270 (diff) | |
download | vdr-3c7d1a16aca49c647320c0ee67759007fa06a845.tar.gz vdr-3c7d1a16aca49c647320c0ee67759007fa06a845.tar.bz2 |
Switched to the new S2API driver API; cDvbTuner::IsTunedTo()now also checks the symbol rate in case of DVB-S and DVB-C
Diffstat (limited to 'menuitems.c')
-rw-r--r-- | menuitems.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/menuitems.c b/menuitems.c index 200834ec..82d50821 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 2.1 2008/04/12 12:05:25 kls Exp $ + * $Id: menuitems.c 2.2 2008/12/13 11:35:31 kls Exp $ */ #include "menuitems.h" @@ -951,9 +951,7 @@ void cMenuEditMapItem::Set(void) { const char *s = NULL; int n = MapToUser(*value, map, &s); - if (n == 999) - SetValue(tr("auto")); - else if (n == 0 && zeroString) + if (n == 0 && zeroString) SetValue(zeroString); else if (n >= 0) { if (s) |