diff options
author | Frank Neumann <fnu@yavdr.org> | 2017-05-25 14:03:49 +0200 |
---|---|---|
committer | Frank Neumann <fnu@yavdr.org> | 2017-05-25 14:03:49 +0200 |
commit | 35b380b5b6ee8d46c1b5ed45837d3c35ea1a5faf (patch) | |
tree | 03254c3bdb6a62e807f958f3a666dbee36ce831d | |
parent | 6d6877cb131dd52efff6360b772544ddf81dff19 (diff) | |
download | vdr-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); } |