diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-11 18:58:18 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-11 18:58:18 +0300 |
commit | caf9d58899a7d059de9ebdfa7f7ee65177d265dc (patch) | |
tree | 370b9e919d92d17e44f2ed808db348c0c53422ba /plugins/AVS | |
parent | 22977408e43caa45687e0c9d5a003b800700bea9 (diff) |
TabSRMM:
- one shall not mix width & height;
- CSkin::ResizeBitmap became completely useless after linking FreeImage in
Diffstat (limited to 'plugins/AVS')
-rw-r--r-- | plugins/AVS/src/services.cpp | 2 |
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')
|