summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Neumann <fnu@yavdr.org>2017-05-25 14:03:49 +0200
committerFrank Neumann <fnu@yavdr.org>2017-05-25 14:03:49 +0200
commit35b380b5b6ee8d46c1b5ed45837d3c35ea1a5faf (patch)
tree03254c3bdb6a62e807f958f3a666dbee36ce831d
parent6d6877cb131dd52efff6360b772544ddf81dff19 (diff)
downloadvdr-plugin-text2skin-35b380b5b6ee8d46c1b5ed45837d3c35ea1a5faf.tar.gz
vdr-plugin-text2skin-35b380b5b6ee8d46c1b5ed45837d3c35ea1a5faf.tar.bz2
min from stl to fix build error VDR 2.3.5.
-rw-r--r--scroller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scroller.c b/scroller.c
index b5280bc..720276a 100644
--- a/scroller.c
+++ b/scroller.c
@@ -24,7 +24,7 @@ void cText2SkinScroller::Set(cText2SkinScreen *Screen, int Left, int Top, int Wi
mOffset = 0;
// sets mHeight to the actually used mHeight, which may be less than Height
mWrapper.Set(Text, Font, Width);
- mShown = min(Total(), mHeight / mFont->Height());
+ mShown = std::min(Total(), mHeight / mFont->Height());
mHeight = mShown * mFont->Height();
DrawText();
}