summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--enigma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/enigma.c b/enigma.c
index 2991cc4..f5cca6c 100644
--- a/enigma.c
+++ b/enigma.c
@@ -1380,7 +1380,7 @@ cSkinEnigmaDisplayMenu::cSkinEnigmaDisplayMenu(void)
}
lineHeight = pFontList->Height();
- nMarkerGap = min(MarkerGap, lineHeight / 2 - 1); //lineHeight - 2 * MarkerGap
+ nMarkerGap = std::min(MarkerGap, lineHeight / 2 - 1); //lineHeight - 2 * MarkerGap
xItemLeft = xBodyLeft + (EnigmaConfig.showMarker ? lineHeight : ListHBorder);
xItemRight = (fShowLogo || fShowInfo ? xBodyRight : xInfoRight) - ListHBorder - SmallGap - SmallGap - SmallGap;
int numItems = MaxItems();
@@ -3808,7 +3808,7 @@ cSkinEnigmaDisplayTracks::cSkinEnigmaDisplayTracks(const char *Title, int NumTra
}
lineHeight = pFontListItem->Height();
- nMarkerGap = min(MarkerGap, lineHeight / 2 - 1); //lineHeight - 2 * MarkerGap
+ nMarkerGap = std::min(MarkerGap, lineHeight / 2 - 1); //lineHeight - 2 * MarkerGap
int LogoSize = IconHeight;
LogoSize += (LogoSize % 2 ? 1 : 0);
currentIndex = -1;