From b43dcf000f703e3ef421350f74208cf4c7cdea77 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 15 Jul 2012 17:43:23 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@979 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Gadu-Gadu/gg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Gadu-Gadu/gg.cpp') diff --git a/protocols/Gadu-Gadu/gg.cpp b/protocols/Gadu-Gadu/gg.cpp index 11f2e3ce2d..1ec516f8da 100644 --- a/protocols/Gadu-Gadu/gg.cpp +++ b/protocols/Gadu-Gadu/gg.cpp @@ -200,7 +200,7 @@ void GGPROTO::cleanuplastplugin(DWORD version) db_unset(NULL, m_szModuleName, "ShowNotOnMyList"); // Store this plugin version - db_set_w(NULL, m_szModuleName, GG_PLUGINVERSION, pluginInfo.version); + db_set_dw(NULL, m_szModuleName, GG_PLUGINVERSION, pluginInfo.version); } ////////////////////////////////////////////////////////// @@ -258,7 +258,7 @@ static int gg_prebuildcontactmenu(WPARAM wParam, LPARAM lParam) mi.cbSize = sizeof(mi); mi.flags = CMIM_NAME | CMIM_FLAGS | CMIF_ICONFROMICOLIB; - if (db_get_b(hContact, gg->m_szModuleName, GG_KEY_UIN, 0) == db_get_b(NULL, gg->m_szModuleName, GG_KEY_UIN, 0) || + if ( db_get_dw(hContact, gg->m_szModuleName, GG_KEY_UIN, 0) == db_get_b(NULL, gg->m_szModuleName, GG_KEY_UIN, 0) || db_get_b(hContact, gg->m_szModuleName, "ChatRoom", 0) || db_get_b(hContact, "CList", "NotOnList", 0)) mi.flags |= CMIF_HIDDEN; -- cgit v1.2.3