summaryrefslogtreecommitdiff
path: root/plugins/FloatingContacts/src/bitmap_funcs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FloatingContacts/src/bitmap_funcs.cpp')
-rw-r--r--plugins/FloatingContacts/src/bitmap_funcs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FloatingContacts/src/bitmap_funcs.cpp b/plugins/FloatingContacts/src/bitmap_funcs.cpp
index d8709fed3b..df96bdcb51 100644
--- a/plugins/FloatingContacts/src/bitmap_funcs.cpp
+++ b/plugins/FloatingContacts/src/bitmap_funcs.cpp
@@ -298,7 +298,7 @@ void MyBitmap::Draw(MyBitmap *bmp, int x, int y, int w, int h)
if (!x && !y && (w == width) && (h == height) && (w == bmp->width) && (h == bmp->height))
{
// fast bitmap copy is possible good for animated avatars
- CopyMemory(bits, bmp->bits, width*height*sizeof(COLOR32));
+ memcpy(bits, bmp->bits, width*height*sizeof(COLOR32));
return;
}