diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-14 15:40:28 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-14 15:40:28 +0000 |
commit | 5049950f23d8a84b1bb286cbc6bf1ab3e6944fb0 (patch) | |
tree | 5356966724f7f66334bf89690dc36618cb5dd711 /protocols/GTalkExt/src/menu.cpp | |
parent | d6b7f083ef11b88282290370988aa7cb60a53345 (diff) |
crazy leaky piece of junk eliminated
git-svn-id: http://svn.miranda-ng.org/main/trunk@4027 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/GTalkExt/src/menu.cpp')
-rw-r--r-- | protocols/GTalkExt/src/menu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/GTalkExt/src/menu.cpp b/protocols/GTalkExt/src/menu.cpp index 0f04ae8d5c..23e571c206 100644 --- a/protocols/GTalkExt/src/menu.cpp +++ b/protocols/GTalkExt/src/menu.cpp @@ -34,7 +34,7 @@ HANDLE hOnPrebuildMenu = 0; INT_PTR OpenMailboxMenuHandler(WPARAM wParam, LPARAM lParam)
{
- if (DBGetContactSettingByte((HANDLE)wParam, SHORT_PLUGIN_NAME, PSEUDOCONTACT_FLAG, 0))
+ if (db_get_b((HANDLE)wParam, SHORT_PLUGIN_NAME, PSEUDOCONTACT_FLAG, 0))
OpenContactInbox((HANDLE)wParam);
return 0;
}
@@ -43,7 +43,7 @@ int OnPrebuildMenu(WPARAM wParam, LPARAM lParam) {
CLISTMENUITEM cmi = { sizeof(cmi) };
cmi.flags = CMIM_FLAGS;
- if (!DBGetContactSettingByte((HANDLE)wParam, SHORT_PLUGIN_NAME, PSEUDOCONTACT_FLAG, 0))
+ if (!db_get_b((HANDLE)wParam, SHORT_PLUGIN_NAME, PSEUDOCONTACT_FLAG, 0))
cmi.flags |= CMIF_HIDDEN;
CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hOpenMailboxMenuItem, (LPARAM)&cmi);
return 0;
|