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 /plugins/Toaster | |
parent | 64bcf1b8fd453638fd24810318fa8716c0b1c249 (diff) |
IMGL_WCHAR removed, all paths are in Unicode now
Diffstat (limited to 'plugins/Toaster')
-rw-r--r-- | plugins/Toaster/src/utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Toaster/src/utils.h b/plugins/Toaster/src/utils.h index 524a96730e..97e8b8ed92 100644 --- a/plugins/Toaster/src/utils.h +++ b/plugins/Toaster/src/utils.h @@ -44,11 +44,11 @@ public: if (!(GetFileAttributes(wszSavePath) < 0xFFFFFFF)) {
IMGSRVC_INFO isi = { sizeof(isi) };
- isi.szName.w = wszSavePath;
+ isi.pwszName = wszSavePath;
isi.hbm = _hBitmap;
isi.dwMask = IMGI_HBITMAP;
isi.fif = FREE_IMAGE_FORMAT::FIF_PNG;
- Image_Save(&isi, IMGL_WCHAR);
+ Image_Save(&isi);
}
return mir_wstrdup(wszSavePath);
}
|