summaryrefslogtreecommitdiff
path: root/plugins/AVS/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-11 18:58:18 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-11 18:58:18 +0300
commitcaf9d58899a7d059de9ebdfa7f7ee65177d265dc (patch)
tree370b9e919d92d17e44f2ed808db348c0c53422ba /plugins/AVS/src
parent22977408e43caa45687e0c9d5a003b800700bea9 (diff)
TabSRMM:
- one shall not mix width & height; - CSkin::ResizeBitmap became completely useless after linking FreeImage in
Diffstat (limited to 'plugins/AVS/src')
-rw-r--r--plugins/AVS/src/services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AVS/src/services.cpp b/plugins/AVS/src/services.cpp
index c350ebd18a..5302ccfe36 100644
--- a/plugins/AVS/src/services.cpp
+++ b/plugins/AVS/src/services.cpp
@@ -394,7 +394,7 @@ static int SetProtoMyAvatar(char *protocol, HBITMAP hBmp, wchar_t *originalFilen
do {
// Lets do it
int fit = (grow ? 0 : RESIZEBITMAP_FLAG_DONT_GROW) | (square ? RESIZEBITMAP_MAKE_SQUARE : RESIZEBITMAP_KEEP_PROPORTIONS);
- d.hBmpProto = Image_Resize(hBmp, fit, d.height, d.width);
+ d.hBmpProto = Image_Resize(hBmp, fit, d.width, d.height);
if (d.hBmpProto == nullptr) {
if (d.temp_file[0] != '\0')