From 6bbb5969681bd6ba1b71ead943cac95746c3b34e Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 13 Jul 2024 15:25:22 +0200 Subject: [PATCH] Fixed setting the editable width in the LCARS skin --- CONTRIBUTORS | 1 + HISTORY | 3 ++- skinlcars.c | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index cd8fcb81..14a3c250 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -3415,6 +3415,7 @@ Matthias Senzel for fixing an unnecessary double display of the current menu item in page up/down for fixing an unnecessary double display of menu items in the Recordings menu for reporting a bug in handling cSkinDisplayMenu::GetTextAreaFont() + for reporting characters being cut off while editing in the LCARS skin Marek Nazarko for translating OSD texts to the Polish language diff --git a/HISTORY b/HISTORY index 3aeb9ddc..0e6129d1 100644 --- a/HISTORY +++ b/HISTORY @@ -9940,9 +9940,10 @@ Video Disk Recorder Revision History - Added 'lnbPowerTurnedOn = false' to cDvbTuner::ProvidesFrontend() (suggested by Markus Ehrnsperger). -2024-07-10: +2024-07-13: - Fixed a crash in strreplace() for multiple replacements with strings of different lengths (reported by Markus Ehrnsperger). - Fixed handling of cSkinDisplayMenu::GetTextAreaFont() (reported by Matthias Senzel). - Fixed a timeout in cDvbDevice while tuning after the frontend has been reopened. +- Fixed setting the editable width in the LCARS skin (reported by Matthias Senzel). diff --git a/skinlcars.c b/skinlcars.c index 745f7586..ea52a1aa 100644 --- a/skinlcars.c +++ b/skinlcars.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: skinlcars.c 5.4 2023/12/29 10:48:40 kls Exp $ + * $Id: skinlcars.c 5.5 2024/07/13 15:25:22 kls Exp $ */ // "Star Trek: The Next Generation"(R) is a registered trademark of Paramount Pictures, @@ -1627,7 +1627,7 @@ void cSkinLCARSDisplayMenu::SetItem(const char *Text, int Index, bool Current, b if (!Tab(i + 1)) break; } - SetEditableWidth(xi02 - xi00 - TextSpacing - Tab(1)); + SetEditableWidth(xi01 - xi00 - TextSpacing - Tab(1)); } void cSkinLCARSDisplayMenu::SetScrollbar(int Total, int Offset)