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/HistoryStats/src | |
parent | 64bcf1b8fd453638fd24810318fa8716c0b1c249 (diff) |
IMGL_WCHAR removed, all paths are in Unicode now
Diffstat (limited to 'plugins/HistoryStats/src')
-rw-r--r-- | plugins/HistoryStats/src/canvas.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/HistoryStats/src/canvas.cpp b/plugins/HistoryStats/src/canvas.cpp index 1639521957..b85cca45fc 100644 --- a/plugins/HistoryStats/src/canvas.cpp +++ b/plugins/HistoryStats/src/canvas.cpp @@ -138,6 +138,6 @@ bool Canvas::writePNG(const wchar_t* szFileName) img.dwMask = IMGI_HBITMAP;
img.hbm = m_hBmp;
img.fif = FIF_PNG;
- img.szName.w = (wchar_t*)szFileName;
- return Image_Save(&img, IMGL_WCHAR) == 0;
+ img.pwszName = (wchar_t*)szFileName;
+ return Image_Save(&img) == 0;
}
|