summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-04-28 12:33:13 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-04-28 12:33:13 +0200
commit40832856f7e663aa59f8d296a7ebb046bd77d0a5 (patch)
treed3c2a5254bc35eadc6b1639bbf4e01b0498c731c /vdr.c
parent4ebc8393eeb0cc49fb0062af73a6ec0910a50ff3 (diff)
downloadvdr-40832856f7e663aa59f8d296a7ebb046bd77d0a5.tar.gz
vdr-40832856f7e663aa59f8d296a7ebb046bd77d0a5.tar.bz2
Fixed handling the cPluginManager::Active() result when pressing the "Power" key
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vdr.c b/vdr.c
index ff87c030..773d704b 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
- * $Id: vdr.c 1.264 2006/04/22 11:26:04 kls Exp $
+ * $Id: vdr.c 1.265 2006/04/28 12:24:04 kls Exp $
*/
#include <getopt.h>
@@ -980,7 +980,7 @@ int main(int argc, char *argv[])
if (Interface->Confirm(tr("Recording - shut down anyway?")))
ForceShutdown = true;
}
- if (cPluginManager::Active(tr("shut down anyway?")))
+ if (!cPluginManager::Active(tr("shut down anyway?")))
ForceShutdown = true;
LastActivity = 1; // not 0, see below!
UserShutdown = true;