diff options
Diffstat (limited to 'plugins/Popup/src/bitmap_funcs.cpp')
-rw-r--r-- | plugins/Popup/src/bitmap_funcs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Popup/src/bitmap_funcs.cpp b/plugins/Popup/src/bitmap_funcs.cpp index add146491f..6d819dbc16 100644 --- a/plugins/Popup/src/bitmap_funcs.cpp +++ b/plugins/Popup/src/bitmap_funcs.cpp @@ -69,7 +69,7 @@ MyBitmap::~MyBitmap() {
if (bitsSave)
delete [] bitsSave;
- free();
+ freemem();
}
void MyBitmap::makeOpaque()
@@ -922,7 +922,7 @@ bool MyBitmap::loadFromFile_default(const char *fn, const char *fnAlpha) bool MyBitmap::loadFromFile(const char *fn, const char *fnAlpha)
{
- if (bits) free();
+ if (bits) freemem();
if (!strncmp(fn, "pixel:", lstrlenA("pixel:")))
{
@@ -974,7 +974,7 @@ void MyBitmap::allocate(int w, int h) GdiFlush();
}
-void MyBitmap::free()
+void MyBitmap::freemem()
{
GdiFlush();
|