summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-08-29 19:43:34 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-08-29 19:43:34 +0000
commitc6b57b965b8e344b38c9e28b59c5410562b24bcf (patch)
treee689f11c3409dbee6be1c4f1773d2bd548f79461 /plugins
parentefd0c6a4ad866396e45dc5ab6e4da6d18fceccd3 (diff)
ooops
git-svn-id: http://svn.miranda-ng.org/main/trunk@15103 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Toaster/src/services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Toaster/src/services.cpp b/plugins/Toaster/src/services.cpp
index dab8258726..323eb50b72 100644
--- a/plugins/Toaster/src/services.cpp
+++ b/plugins/Toaster/src/services.cpp
@@ -51,7 +51,7 @@ static void ShowToastNotification(TCHAR* text, TCHAR* title, MCONTACT hContact)
wchar_t dir[MAX_PATH];
FoldersGetCustomPathT(g_hTempAvatarsFolder, dir, _countof(dir), VARSW(L"%miranda_userdata%\\Temp"));
ToasterAvatar *ta = new ToasterAvatar(&pai);
- CMStringW wszPath(FORMAT, L"%s\\%lld.%d.png", dir, hContact, db_get_dw(hContact, "ContactPhoto", "ImagePath"));
+ CMStringW wszPath(FORMAT, L"%s\\%lld.%d.png", dir, hContact, db_get_dw(hContact, "ContactPhoto", "ImageHash"));
ta->Save(wszPath);
imagePath = wszPath.Detach();
delete ta;