summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/avatars.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-17 15:06:11 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-17 15:06:11 +0000
commit82ae452fff08430d514f762f49e78fec90f88625 (patch)
tree184c31c029a364eec13b58d060d20ba85b2a20bc /plugins/Popup/src/avatars.cpp
parent15267ea2d489606fb4b99d011bc3ea7c2a644a9f (diff)
- rest of memory leaks
- code cleaning; git-svn-id: http://svn.miranda-ng.org/main/trunk@4078 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Popup/src/avatars.cpp')
-rw-r--r--plugins/Popup/src/avatars.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Popup/src/avatars.cpp b/plugins/Popup/src/avatars.cpp
index 059bfa1b97..e7d90a396f 100644
--- a/plugins/Popup/src/avatars.cpp
+++ b/plugins/Popup/src/avatars.cpp
@@ -37,7 +37,7 @@ PopupAvatar *PopupAvatar::create(HANDLE hContact)
if (!_tcsicmp(av->szFilename+_tcslen(av->szFilename)-4, _T(".gif")))
{
// MessageBox(NULL, _T("02"), _T(MODULNAME_LONG), MB_OK);
- if (DBGetContactSettingByte(NULL, MODULNAME, "EnableGifAnimation", 1) && GDIPlus_IsAnimatedGIF(av->szFilename))
+ if (db_get_b(NULL, MODULNAME, "EnableGifAnimation", 1) && GDIPlus_IsAnimatedGIF(av->szFilename))
{
// MessageBox(NULL, _T("03"), _T(MODULNAME_LONG), MB_OK);
return new GifAvatar(hContact);