summaryrefslogtreecommitdiff
path: root/plugins/Toaster
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 /plugins/Toaster
parent64bcf1b8fd453638fd24810318fa8716c0b1c249 (diff)
IMGL_WCHAR removed, all paths are in Unicode now
Diffstat (limited to 'plugins/Toaster')
-rw-r--r--plugins/Toaster/src/utils.h4
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);
}