summaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-01-11 11:19:01 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-01-11 11:19:01 +0100
commit5f4ea6b30dfcc2fee15bdaba84514a3f039e6912 (patch)
treef64058707adfc89dcfaf38bab541e1e3edfa15e0 /view.c
parent435a74d9cf1970b0e58d1c1fe031861fd9169826 (diff)
downloadvdr-plugin-tvguide-5f4ea6b30dfcc2fee15bdaba84514a3f039e6912.tar.gz
vdr-plugin-tvguide-5f4ea6b30dfcc2fee15bdaba84514a3f039e6912.tar.bz2
gcc11fix
Diffstat (limited to 'view.c')
-rw-r--r--view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/view.c b/view.c
index 59e940b..cff0afe 100644
--- a/view.c
+++ b/view.c
@@ -254,7 +254,7 @@ void cView::DrawFloatingContent(std::string *infoText, cTvMedia *img, cTvMedia *
int textLinesFull = wTextFull.Lines();
int textHeight = lineHeight * (textLinesTall + textLinesFull) + 2*border;
int yText = border;
- CreateContent(max(textHeight, imgHeight + 2*border));
+ CreateContent(std::max(textHeight, imgHeight + 2*border));
for (int i=0; i < textLinesTall; i++) {
pixmapContent->DrawText(cPoint(border, yText), wTextTall.GetLine(i), theme.Color(clrFont), clrTransparent, font);
yText += lineHeight;