From af0309cc40e3d3baedc44418f981f75d8fc7eb40 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Wed, 29 Jan 2025 10:20:17 +0100 Subject: [PATCH] Fixed an improper call of cStatus::OsdCurrentItem() before cStatus::OsdItem2() --- CONTRIBUTORS | 1 + HISTORY | 4 +++- menuitems.c | 3 +-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 85bb9421..c5e41f61 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2591,6 +2591,7 @@ Markus Ehrnsperger one event with the same VPS time for fixing handling margins for timers that are not VPS controlled and not spawned for implementing cStatus::OsdItem2() with the information whether the item is selectable + for reporting an improper call of cStatus::OsdCurrentItem() before cStatus::OsdItem2() Werner Färber for reporting a bug in handling the cPluginManager::Active() result when pressing diff --git a/HISTORY b/HISTORY index 49d3f900..8e2f1360 100644 --- a/HISTORY +++ b/HISTORY @@ -10034,7 +10034,7 @@ Video Disk Recorder Revision History (suggested by Stefan Hofmann). - Added vdrrootdir and incdir to vdr.pc (thanks to Stefan Hofmann). -2025-01-18: +2025-01-29: - Removed all DEPRECATED_* code. - Fixed error checking in case the fps value can't be determined by the frame parser. @@ -10063,3 +10063,5 @@ Video Disk Recorder Revision History APIVERSNUM is now 30006. - Fixed setting the file name of the info file after renaming a recording (reported by Stefan Hofmann). +- Fixed an improper call of cStatus::OsdCurrentItem() before cStatus::OsdItem2() (reported + by Markus Ehrnsperger). diff --git a/menuitems.c b/menuitems.c index e4ed457b..32809e9e 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 5.2 2024/07/13 09:12:18 kls Exp $ + * $Id: menuitems.c 5.3 2025/01/29 10:20:17 kls Exp $ */ #include "menuitems.h" @@ -38,7 +38,6 @@ void cMenuEditItem::SetValue(const char *Value) { cString buffer = cString::sprintf("%s:\t%s", name, Value); SetText(buffer); - cStatus::MsgOsdCurrentItem(buffer); } void cMenuEditItem::SetHelp(const char *Red, const char *Green, const char *Yellow, const char *Blue)