From 299f1f312c3a7ffdda9ff798fab6b73fd53842ec Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 28 Apr 2012 10:40:16 +0200 Subject: [PATCH] Fixed handling menu categories for plugin menus --- skins.c | 4 ++-- skins.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/skins.c b/skins.c index 4ec23835..b2ca83ad 100644 --- a/skins.c +++ b/skins.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: skins.c 2.6 2012/04/08 11:38:57 kls Exp $ + * $Id: skins.c 2.7 2012/04/28 10:40:16 kls Exp $ */ #include "skins.h" @@ -67,7 +67,7 @@ cSkinDisplay::~cSkinDisplay() cSkinDisplayMenu::cSkinDisplayMenu(void) { - menuCategory = mcUnknown; + menuCategory = mcUndefined; SetTabs(0); } diff --git a/skins.h b/skins.h index b31b7dc4..a99d780f 100644 --- a/skins.h +++ b/skins.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: skins.h 2.3 2012/04/08 11:24:59 kls Exp $ + * $Id: skins.h 2.4 2012/04/28 10:39:54 kls Exp $ */ #ifndef __SKINS_H @@ -72,7 +72,7 @@ public: */ }; -enum eMenuCategory { mcUnknown = 0, mcMain, mcSchedule, mcChannel, mcTimer, mcRecording, mcPlugin, mcSetup, mcCommand, mcEvent, mcText, mcFolder, mcCam }; +enum eMenuCategory { mcUndefined = -1, mcUnknown = 0, mcMain, mcSchedule, mcChannel, mcTimer, mcRecording, mcPlugin, mcSetup, mcCommand, mcEvent, mcText, mcFolder, mcCam }; class cSkinDisplayMenu : public cSkinDisplay { ///< This class implements the general purpose menu display, which is