From 484a3afa89e81e5106108e2ba9eb9d45dcd27c9a Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 4 Feb 2001 19:41:24 +0100 Subject: Fixed handling of REMOTE=NONE --- vdr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vdr.c b/vdr.c index 715df223..ead90e5b 100644 --- a/vdr.c +++ b/vdr.c @@ -22,7 +22,7 @@ * * The project's page is at http://www.cadsoft.de/people/kls/vdr * - * $Id: vdr.c 1.51 2001/02/04 11:51:11 kls Exp $ + * $Id: vdr.c 1.52 2001/02/04 19:41:24 kls Exp $ */ #include @@ -180,9 +180,9 @@ int main(int argc, char *argv[]) Channels.Load(AddDirectory(ConfigDirectory, "channels.conf")); Timers.Load(AddDirectory(ConfigDirectory, "timers.conf")); Commands.Load(AddDirectory(ConfigDirectory, "commands.conf")); -#ifdef REMOTE_LIRC +#if defined(REMOTE_LIRC) Keys.SetDummyValues(); -#else +#elif !defined(REMOTE_NONE) bool KeysLoaded = Keys.Load(AddDirectory(ConfigDirectory, KEYS_CONF)); #endif @@ -200,7 +200,7 @@ int main(int argc, char *argv[]) // User interface: Interface = new cInterface(SVDRPport); -#ifndef REMOTE_LIRC +#if !defined(REMOTE_LIRC) && !defined(REMOTE_NONE) if (!KeysLoaded) Interface->LearnKeys(); #endif -- cgit v1.2.3