diff options
author | George Hazan <ghazan@miranda.im> | 2018-10-30 13:23:54 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-10-30 13:23:54 +0300 |
commit | f307c5760e92529bf9653c528e624070b0cca2cf (patch) | |
tree | 6e1c21826353ac4a9ce0e4ce0036dd4baa92dcec /plugins/TabSRMM/src/templates.cpp | |
parent | 767c5e08a6e63cba75da64d2d344339ea72d70bd (diff) |
tabSRMM:
- obsolete M.GetDword & M.GetByte calls removed;
- useless m_isFavorite & m_isRecent moved from CContactCache to CMimAPI;
- other code cleaning
Diffstat (limited to 'plugins/TabSRMM/src/templates.cpp')
-rw-r--r-- | plugins/TabSRMM/src/templates.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/templates.cpp b/plugins/TabSRMM/src/templates.cpp index b82440d908..d28ee841a1 100644 --- a/plugins/TabSRMM/src/templates.cpp +++ b/plugins/TabSRMM/src/templates.cpp @@ -99,12 +99,12 @@ void LoadDefaultTemplates() LTR_Active = LTR_Default; RTL_Active = RTL_Default; - if (M.GetByte(RTLTEMPLATES_MODULE, "setup", 0) < 2) { + if (db_get_b(0, RTLTEMPLATES_MODULE, "setup", 0) < 2) { for (int i = 0; i <= TMPL_ERRMSG; i++) db_set_ws(0, RTLTEMPLATES_MODULE, TemplateNames[i], RTL_Default.szTemplates[i]); db_set_b(0, RTLTEMPLATES_MODULE, "setup", 2); } - if (M.GetByte(TEMPLATES_MODULE, "setup", 0) < 2) { + if (db_get_b(0, TEMPLATES_MODULE, "setup", 0) < 2) { for (int i = 0; i <= TMPL_ERRMSG; i++) db_set_ws(0, TEMPLATES_MODULE, TemplateNames[i], LTR_Default.szTemplates[i]); db_set_b(0, TEMPLATES_MODULE, "setup", 2); |