diff options
author | lordjaxom <lordjaxom> | 2004-12-21 20:26:25 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2004-12-21 20:26:25 +0000 |
commit | daa586ba0112a61d92a57e33e648f00b4105dd65 (patch) | |
tree | 9c4bb00087570023bf7706b60d2124ebfedb7d7d /bitmap.c | |
parent | c05277882c111760d4e275b8521bb057e913a946 (diff) | |
download | vdr-plugin-text2skin-daa586ba0112a61d92a57e33e648f00b4105dd65.tar.gz vdr-plugin-text2skin-daa586ba0112a61d92a57e33e648f00b4105dd65.tar.bz2 |
- finished {CurrentRecording}
- improved marquee
- added some missing checks
Diffstat (limited to 'bitmap.c')
-rw-r--r-- | bitmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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]; |