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/date_utils.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/date_utils.cpp')
-rw-r--r-- | plugins/WhenWasIt/src/date_utils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/WhenWasIt/src/date_utils.cpp b/plugins/WhenWasIt/src/date_utils.cpp index e9da2253e0..e35710a2ca 100644 --- a/plugins/WhenWasIt/src/date_utils.cpp +++ b/plugins/WhenWasIt/src/date_utils.cpp @@ -262,9 +262,9 @@ int SaveBirthday(HANDLE hContact, int year, int month, int day, int mode) DBDeleteContactSetting(hContact, sModule, sDay);
}
else{
- DBWriteContactSettingWord(hContact, sModule, sYear, year);
- DBWriteContactSettingByte(hContact, sModule, sMonth, month);
- DBWriteContactSettingByte(hContact, sModule, sDay, day);
+ db_set_dw(hContact, sModule, sYear, year);
+ db_set_b(hContact, sModule, sMonth, month);
+ db_set_b(hContact, sModule, sDay, day);
}
DBDeleteContactSetting(hContact, sdModule, sdYear);
|