summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2021-05-21 12:51:16 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2021-05-21 12:51:16 +0200
commitb7112ece6c5c6e0af362d9f01717bd80bbf6d344 (patch)
treec536e46f4fa45e9d23d325473412da67392f5a88 /device.h
parentf7c8f582eae55c9d94cef0eaee04b08699ad1645 (diff)
downloadvdr-b7112ece6c5c6e0af362d9f01717bd80bbf6d344.tar.gz
vdr-b7112ece6c5c6e0af362d9f01717bd80bbf6d344.tar.bz2
The default for DEPRECATED_SETCURRENTCHANNEL has been set to 0
Diffstat (limited to 'device.h')
-rw-r--r--device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/device.h b/device.h
index df0732f8..63eef603 100644
--- a/device.h
+++ b/device.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.h 4.17 2020/06/27 10:24:46 kls Exp $
+ * $Id: device.h 5.1 2021/05/21 12:51:16 kls Exp $
*/
#ifndef __DEVICE_H
@@ -358,7 +358,7 @@ public:
static int CurrentChannel(void) { return primaryDevice ? currentChannel : 0; }
///< Returns the number of the current channel on the primary device.
#ifndef DEPRECATED_SETCURRENTCHANNEL
-#define DEPRECATED_SETCURRENTCHANNEL 1
+#define DEPRECATED_SETCURRENTCHANNEL 0
#endif
#if DEPRECATED_SETCURRENTCHANNEL
static void SetCurrentChannel(const cChannel *Channel) { currentChannel = Channel ? Channel->Number() : 0; }