summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/canvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryStats/src/canvas.cpp')
-rw-r--r--plugins/HistoryStats/src/canvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryStats/src/canvas.cpp b/plugins/HistoryStats/src/canvas.cpp
index 118534209d..945b22351b 100644
--- a/plugins/HistoryStats/src/canvas.cpp
+++ b/plugins/HistoryStats/src/canvas.cpp
@@ -139,5 +139,5 @@ bool Canvas::writePNG(const wchar_t* szFileName)
img.hbm = m_hBmp;
img.fif = FIF_PNG;
img.tszName = (wchar_t*)szFileName;
- return CallService(MS_IMG_SAVE, (WPARAM)&img, IMGL_TCHAR) == 0;
+ return CallService(MS_IMG_SAVE, (WPARAM)&img, IMGL_WCHAR) == 0;
}