diff options
author | Mataes <mataes2007@gmail.com> | 2019-05-02 21:53:16 +0300 |
---|---|---|
committer | Mataes <mataes2007@gmail.com> | 2019-05-02 21:53:16 +0300 |
commit | 37688aac67853dc1568182a3497be4c877e3dcdb (patch) | |
tree | e50200fc5b084ce13a2c7e52242d38d8ae60b357 /plugins/Popup/src | |
parent | 49bed732c6df39adb061c6eb94b5083b861ec28f (diff) |
minor fixes
Diffstat (limited to 'plugins/Popup/src')
-rw-r--r-- | plugins/Popup/src/avatars_gif.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Popup/src/avatars_gif.cpp b/plugins/Popup/src/avatars_gif.cpp index bfb5d63368..29c4926606 100644 --- a/plugins/Popup/src/avatars_gif.cpp +++ b/plugins/Popup/src/avatars_gif.cpp @@ -67,8 +67,8 @@ void GifAvatar::draw(MyBitmap *bmp, int x, int y, int w, int h, POPUPOPTIONS *op mir_free(frameDelays);
frameDelays = nullptr;
}
- if (hBitmap) DeleteObject(hBitmap);
GDIPlus_ExtractAnimatedGIF(av->szFilename, w, h, hBitmap, frameDelays, frameCount, frameSize);
+ if (hBitmap) DeleteObject(hBitmap);
}
if (!frameCount) return;
|