diff options
author | George Hazan <george.hazan@gmail.com> | 2014-12-19 13:55:39 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-12-19 13:55:39 +0000 |
commit | 77406964dd1c296e7ad26b2ef4c348048e193234 (patch) | |
tree | e855ba9dd905f36b24822e443ea60478b8c473fc /plugins/TabSRMM/src/contactcache.cpp | |
parent | fe3e180e32fe8461031e05a9d59914707d1ad8f6 (diff) |
variable names' normalization
git-svn-id: http://svn.miranda-ng.org/main/trunk@11531 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/contactcache.cpp')
-rw-r--r-- | plugins/TabSRMM/src/contactcache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/contactcache.cpp b/plugins/TabSRMM/src/contactcache.cpp index 1483d13b46..e10289c300 100644 --- a/plugins/TabSRMM/src/contactcache.cpp +++ b/plugins/TabSRMM/src/contactcache.cpp @@ -440,7 +440,7 @@ void CContactCache::deletedHandler() */ void CContactCache::updateFavorite() { - m_isFavorite = db_get_b(m_hContact, SRMSGMOD_T, "isFavorite", 0) != 0; + m_isFavorite = M.GetBool(m_hContact, "isFavorite", false); m_isRecent = M.GetDword(m_hContact, "isRecent", 0) ? true : false; } |