summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-07-13 20:25:43 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-07-13 20:25:43 +0300
commitb55e73f9ab1d35d83fca7b95ad26e22158b41e4b (patch)
tree65cfa23f7f9bd9cc996872f1017a2c5013954659
parente36aafc4e71841211bc2295bde9e708c7d3309e7 (diff)
warning fix
-rw-r--r--plugins/Toaster/src/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Toaster/src/utils.h b/plugins/Toaster/src/utils.h
index 97e8b8ed92..c0877ae556 100644
--- a/plugins/Toaster/src/utils.h
+++ b/plugins/Toaster/src/utils.h
@@ -40,7 +40,7 @@ public:
wchar_t* Save()
{
wchar_t wszSavePath[MAX_PATH];
- mir_snwprintf(wszSavePath, L"%s\\MirandaToaster.%s.png", wszTempDir, tszId);
+ mir_snwprintf(wszSavePath, L"%s\\MirandaToaster.%s.png", wszTempDir, tszId.get());
if (!(GetFileAttributes(wszSavePath) < 0xFFFFFFF)) {
IMGSRVC_INFO isi = { sizeof(isi) };