diff options
Diffstat (limited to 'plugins/Popup/src/bitmap_funcs.cpp')
-rw-r--r-- | plugins/Popup/src/bitmap_funcs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Popup/src/bitmap_funcs.cpp b/plugins/Popup/src/bitmap_funcs.cpp index cf81ab37a0..cd551905aa 100644 --- a/plugins/Popup/src/bitmap_funcs.cpp +++ b/plugins/Popup/src/bitmap_funcs.cpp @@ -260,7 +260,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;
}
|