summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-08 21:23:00 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-08 21:23:00 +0300
commitfc99e176ada8bb07d55929bcfcf8733f6bd95831 (patch)
tree0b7caeb6602944e7bd26931af20bc04f3a12f79f /protocols/FacebookRM
parent64bcf1b8fd453638fd24810318fa8716c0b1c249 (diff)
IMGL_WCHAR removed, all paths are in Unicode now
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r--protocols/FacebookRM/src/json.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/json.cpp b/protocols/FacebookRM/src/json.cpp
index 29ca4dd2da..7d6c1c207b 100644
--- a/protocols/FacebookRM/src/json.cpp
+++ b/protocols/FacebookRM/src/json.cpp
@@ -528,11 +528,11 @@ const char* FacebookProto::ParseIcon(const std::string &url)
HBITMAP hBmp = Image_LoadFromMem(reply->pData, reply->dataLength, FIF_UNKNOWN);
if (hBmp != nullptr) {
IMGSRVC_INFO info = { sizeof(info) };
- info.szName.w = wszFileName;
+ info.pwszName = wszFileName;
info.fif = FIF_ICO;
info.dwMask = IMGI_HBITMAP;
info.hbm = hBmp;
- Image_Save(&info, IMGL_WCHAR);
+ Image_Save(&info);
}
}
}