From daa586ba0112a61d92a57e33e648f00b4105dd65 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Tue, 21 Dec 2004 20:26:25 +0000 Subject: - finished {CurrentRecording} - improved marquee - added some missing checks --- bitmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bitmap.c') diff --git a/bitmap.c b/bitmap.c index 55dedba..c600a47 100644 --- a/bitmap.c +++ b/bitmap.c @@ -1,5 +1,5 @@ /* - * $Id: bitmap.c,v 1.1 2004/12/19 22:03:08 lordjaxom Exp $ + * $Id: bitmap.c,v 1.2 2004/12/21 20:26:25 lordjaxom Exp $ */ #include "bitmap.h" @@ -90,7 +90,7 @@ cText2SkinBitmap::~cText2SkinBitmap() { mBitmaps.clear(); } -cBitmap &cText2SkinBitmap::Get(int &UpdateIn) { +cBitmap &cText2SkinBitmap::Get(uint &UpdateIn) { if (mBitmaps.size() == 1) return *mBitmaps[0]; @@ -107,7 +107,7 @@ cBitmap &cText2SkinBitmap::Get(int &UpdateIn) { upd = mDelay - diff; } - if (UpdateIn == 0 || UpdateIn > upd) + if (UpdateIn == 0 || UpdateIn > (uint)upd) UpdateIn = upd; return *mBitmaps[mCurrent]; -- cgit v1.2.3