From 35b380b5b6ee8d46c1b5ed45837d3c35ea1a5faf Mon Sep 17 00:00:00 2001 From: Frank Neumann Date: Thu, 25 May 2017 14:03:49 +0200 Subject: min from stl to fix build error VDR 2.3.5. --- scroller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- cgit v1.2.3