diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-01-11 11:19:01 +0100 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-01-11 11:19:01 +0100 |
commit | 5f4ea6b30dfcc2fee15bdaba84514a3f039e6912 (patch) | |
tree | f64058707adfc89dcfaf38bab541e1e3edfa15e0 /view.c | |
parent | 435a74d9cf1970b0e58d1c1fe031861fd9169826 (diff) | |
download | vdr-plugin-tvguide-5f4ea6b30dfcc2fee15bdaba84514a3f039e6912.tar.gz vdr-plugin-tvguide-5f4ea6b30dfcc2fee15bdaba84514a3f039e6912.tar.bz2 |
gcc11fix
Diffstat (limited to 'view.c')
-rw-r--r-- | view.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |