summaryrefslogtreecommitdiff
path: root/scroller.c
diff options
context:
space:
mode:
Diffstat (limited to 'scroller.c')
-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();
}