summaryrefslogtreecommitdiff
path: root/enigma.c
diff options
context:
space:
mode:
Diffstat (limited to 'enigma.c')
-rw-r--r--enigma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/enigma.c b/enigma.c
index 93beb0d..4ace2d8 100644
--- a/enigma.c
+++ b/enigma.c
@@ -311,7 +311,7 @@ cSkinEnigmaDisplayChannel::cSkinEnigmaDisplayChannel(bool WithInfo)
xBottomLeft = xTitleLeft;
xBottomRight = xTitleRight;
yBottomTop = yEventNextBottom + SmallGap;
- yBottomBottom = yBottomTop + pFontDate->Height();
+ yBottomBottom = yBottomTop + pFontLanguage->Height();
// message area
xMessageLeft = xEventNowLeft;
xMessageRight = xTitleRight;
@@ -1852,7 +1852,7 @@ void cSkinEnigmaDisplayMenu::SetItem(const char *Text, int Index, bool Current,
break;
}
//set editable width
- SetEditableWidth(xItemRight - Tab(1));
+ SetEditableWidth(xItemRight - Tab(1) - xItemLeft);
#ifndef SKINENIGMA_NO_MENULOGO
// debug("SetItem: (%s) %d %d %d\n", Text, Index, Current, Selectable);