From 4a73d25004e811c187115dc95236553c704fe76b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 23 Jun 2015 08:49:02 +0000 Subject: warning fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@14346 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/FloatingContacts/src/bitmap_funcs.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/FloatingContacts/src/bitmap_funcs.cpp') diff --git a/plugins/FloatingContacts/src/bitmap_funcs.cpp b/plugins/FloatingContacts/src/bitmap_funcs.cpp index 25347c47fb..eaccf7c358 100644 --- a/plugins/FloatingContacts/src/bitmap_funcs.cpp +++ b/plugins/FloatingContacts/src/bitmap_funcs.cpp @@ -532,7 +532,7 @@ void MyBitmap::DrawPart(MyBitmap *bmp, int xin, int yin, int win, int hin, int x } } -void MyBitmap::DrawNoAlpha(MyBitmap *bmp, int x, int y, int w, int h) +void MyBitmap::DrawNoAlpha(MyBitmap *bmp, int x, int y) { if (!(bits && bmp && bmp->bits)) return; @@ -888,7 +888,7 @@ static int hex2dec(char hex) return 0; } -bool MyBitmap::loadFromFile_pixel(const char *fn, const char *fnAlpha) +bool MyBitmap::loadFromFile_pixel(const char *fn) { allocate(1, 1); int r, g, b, a = 255; @@ -900,7 +900,7 @@ bool MyBitmap::loadFromFile_pixel(const char *fn, const char *fnAlpha) return true; } -bool MyBitmap::loadFromFile_gradient(const char *fn, const char *fnAlpha) +bool MyBitmap::loadFromFile_gradient(const char *fn) { const char *p = fn + mir_strlen("gradient:"); @@ -968,10 +968,10 @@ bool MyBitmap::loadFromFile(const char *fn, const char *fnAlpha) if (bits) free(); if (!strncmp(fn, "pixel:", mir_strlen("pixel:"))) - return loadFromFile_pixel(fn, fnAlpha); + return loadFromFile_pixel(fn); if (!strncmp(fn, "gradient:", mir_strlen("gradient:"))) - return loadFromFile_gradient(fn, fnAlpha); + return loadFromFile_gradient(fn); return loadFromFile_default(fn, fnAlpha); } -- cgit v1.2.3