From ab3acde2326a9d8f942995325b71b3aeaf24b918 Mon Sep 17 00:00:00 2001 From: mrwastl Date: Thu, 13 Oct 2011 13:03:25 +0200 Subject: bug fix for bit order in SetPixel(): verified: image, not verified yet: hd61830, ks0108, network, sed1330, sed1520; beauty fix in object.c (compiler warning) --- glcdskin/object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glcdskin/object.c') diff --git a/glcdskin/object.c b/glcdskin/object.c index 5c1e514..b2dffe7 100644 --- a/glcdskin/object.c +++ b/glcdskin/object.c @@ -658,7 +658,7 @@ void cSkinObject::Render(GLCD::cBitmap * screen) mMultilineScrollPosition = 0; } else if (multilineRelScroll > 0) { mMultilineScrollPosition += multilineRelScroll; - if (mMultilineScrollPosition > (lines.size() - amount_lines) ) + if (mMultilineScrollPosition > (int)((lines.size() - amount_lines)) ) mMultilineScrollPosition = lines.size() - amount_lines; } } -- cgit v1.2.3