diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-23 10:19:27 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-23 10:19:27 +0000 |
commit | 92ad5aa7da96a047c03c391560bca2b49b5a284d (patch) | |
tree | 7e563e52d0037eeb0d7165bdca58ea6e4d7c9ea8 /plugins/WhenWasIt/src/hooked_events.cpp | |
parent | 06fc68c05e43d94ee5fc6dce81bca36fb7b92ea9 (diff) |
- fixed extra icons in WhenWasIt;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@2440 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WhenWasIt/src/hooked_events.cpp')
-rw-r--r-- | plugins/WhenWasIt/src/hooked_events.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/WhenWasIt/src/hooked_events.cpp b/plugins/WhenWasIt/src/hooked_events.cpp index da974281c7..26ba840ee5 100644 --- a/plugins/WhenWasIt/src/hooked_events.cpp +++ b/plugins/WhenWasIt/src/hooked_events.cpp @@ -236,7 +236,7 @@ int OnExtraImageApply(WPARAM wParam, LPARAM lParam) if (ok && (dtb >= 0 || dab > 0)) {
int age = GetContactAge(hContact);
- DBWriteContactSettingByte(hContact, "UserInfo", "Age", age);
+ db_set_b(hContact, "UserInfo", "Age", age);
if ((bShouldCheckBirthdays) && (commonData.bUsePopups))
{
@@ -259,9 +259,8 @@ int OnExtraImageApply(WPARAM wParam, LPARAM lParam) DialogNotifyMissedBirthday(hContact, dab, age);
}
- if (commonData.bUseClistIcon) //TODO
- if (dtb >= 0)
- ClistIconNotifyBirthday(hContact, dtb);
+ if (dtb >= 0)
+ ClistIconNotifyBirthday(hContact, dtb);
}
else ClearClistIcon(hContact);
|