summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/modplus.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-10-30 13:23:54 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-10-30 13:23:54 +0300
commitf307c5760e92529bf9653c528e624070b0cca2cf (patch)
tree6e1c21826353ac4a9ce0e4ce0036dd4baa92dcec /plugins/TabSRMM/src/modplus.cpp
parent767c5e08a6e63cba75da64d2d344339ea72d70bd (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/modplus.cpp')
-rw-r--r--plugins/TabSRMM/src/modplus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/modplus.cpp b/plugins/TabSRMM/src/modplus.cpp
index 6052e090d6..aee87efd84 100644
--- a/plugins/TabSRMM/src/modplus.cpp
+++ b/plugins/TabSRMM/src/modplus.cpp
@@ -86,7 +86,7 @@ static int CustomButtonPressed(WPARAM wParam, LPARAM lParam)
CMStringW pwszFormatedText;
if (cbcd->flags & BBCF_RIGHTBUTTON) {
- int menulimit = M.GetByte("tabmodplus", "MenuCount", 0);
+ int menulimit = db_get_b(0, "tabmodplus", "MenuCount", 0);
if (menulimit != 0) {
HMENU hMenu = CreatePopupMenu();
LIST<wchar_t> arMenuLines(1);