diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2012-12-10 20:38:35 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2012-12-10 20:38:35 +0000 |
commit | d2528d31bac20ff2f7f41355cd398d929d83136a (patch) | |
tree | 0255b613a37fea391b1e3b3e74ed66a943f60d80 /plugins/NewXstatusNotify/src/utils.cpp | |
parent | 4d4710c1749592ec32b5adec4d2c974ebc5fa4ce (diff) |
-fixed status message notification for hidden contacts (reported by Andrzej Aleksiejuk)
-removed the deprecated & bizarre aliases
git-svn-id: http://svn.miranda-ng.org/main/trunk@2715 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewXstatusNotify/src/utils.cpp')
-rw-r--r-- | plugins/NewXstatusNotify/src/utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewXstatusNotify/src/utils.cpp b/plugins/NewXstatusNotify/src/utils.cpp index b7362ae1a5..67c955cffb 100644 --- a/plugins/NewXstatusNotify/src/utils.cpp +++ b/plugins/NewXstatusNotify/src/utils.cpp @@ -46,9 +46,9 @@ TCHAR *db2t(DBVARIANT *dbv) int DBGetStringDefault(HANDLE hContact, const char *szModule, const char *szSetting, TCHAR *setting, int size, const TCHAR *defaultValue)
{
DBVARIANT dbv;
- if ( !DBGetContactSettingTString(hContact, szModule, szSetting, &dbv)) {
+ if ( !db_get_ts(hContact, szModule, szSetting, &dbv)) {
_tcsncpy(setting, dbv.ptszVal, size);
- DBFreeVariant(&dbv);
+ db_free(&dbv);
return 0;
}
|