summaryrefslogtreecommitdiff
path: root/displaymenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'displaymenu.c')
-rw-r--r--displaymenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/displaymenu.c b/displaymenu.c
index 0302e8f..8a00bd9 100644
--- a/displaymenu.c
+++ b/displaymenu.c
@@ -728,7 +728,7 @@ void cNopacityDisplayMenu::Action(void) {
while (Running()) {
uint64_t Now = cTimeMs::Now();
cPixmap::Lock();
- double t = min(double(Now - Start) / FadeTime, 1.0);
+ double t = std::min(double(Now - Start) / FadeTime, 1.0);
int Alpha = t * ALPHA_OPAQUE;
menuView->SetPixmapAlpha(Alpha);
for (cNopacityMenuItem *item = menuItems.First(); Running() && item; item = menuItems.Next(item)) {