summaryrefslogtreecommitdiff
path: root/plugins/AvatarHistory/src/popup.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-30 10:38:21 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-30 10:38:21 +0000
commitdaba159a1438dbd00fb40d7b2ffd772da67a86dc (patch)
tree9957952dd1b787b327d2daba9248141c61d135ae /plugins/AvatarHistory/src/popup.cpp
parentf426fe1769798bf8d88ca455bd0d803a2a76f104 (diff)
AvatarHistory works again
git-svn-id: http://svn.miranda-ng.org/main/trunk@4246 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AvatarHistory/src/popup.cpp')
-rw-r--r--plugins/AvatarHistory/src/popup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/AvatarHistory/src/popup.cpp b/plugins/AvatarHistory/src/popup.cpp
index a27917de43..8338eabcf4 100644
--- a/plugins/AvatarHistory/src/popup.cpp
+++ b/plugins/AvatarHistory/src/popup.cpp
@@ -78,7 +78,7 @@ void ShowPopup(HANDLE hContact, const TCHAR *title, const TCHAR *description)
void ShowDebugPopup(HANDLE hContact, const TCHAR *title, const TCHAR *description)
{
- if(DBGetContactSettingByte(NULL,MODULE_NAME,"Debug",0))
+ if (db_get_b(NULL,MODULE_NAME,"Debug",0))
{
ShowPopup(hContact,title,description);
}
@@ -95,7 +95,7 @@ PopupDataType;
void ShowPopupEx(HANDLE hContact, const TCHAR *title, const TCHAR *description,
void *plugin_data, int type, const Options *op)
{
- if(ServiceExists(MS_POPUP_ADDPOPUPT))
+ if (ServiceExists(MS_POPUP_ADDPOPUPT))
{
// Make popup
POPUPDATAT ppd = {0};