diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-08 21:23:00 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-08 21:23:00 +0300 |
commit | fc99e176ada8bb07d55929bcfcf8733f6bd95831 (patch) | |
tree | 0b7caeb6602944e7bd26931af20bc04f3a12f79f /protocols/FacebookRM/src/json.cpp | |
parent | 64bcf1b8fd453638fd24810318fa8716c0b1c249 (diff) |
IMGL_WCHAR removed, all paths are in Unicode now
Diffstat (limited to 'protocols/FacebookRM/src/json.cpp')
-rw-r--r-- | protocols/FacebookRM/src/json.cpp | 4 |
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); } } } |