summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/icq_menu.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-03 19:17:51 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-03 19:17:51 +0000
commit4c1143795a4e0ab188e23f89ee456408fdb6da24 (patch)
treec86c49ab0bceb32a67336805a37dfd1470e8fa02 /protocols/IcqOscarJ/icq_menu.cpp
parent31ad5a2b294f59b5a64a8e7d8383669baeb7fdd0 (diff)
sync
git-svn-id: http://svn.miranda-ng.org/main/trunk@286 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/icq_menu.cpp')
-rw-r--r--protocols/IcqOscarJ/icq_menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IcqOscarJ/icq_menu.cpp b/protocols/IcqOscarJ/icq_menu.cpp
index 46da48ad1a..7b62c370f7 100644
--- a/protocols/IcqOscarJ/icq_menu.cpp
+++ b/protocols/IcqOscarJ/icq_menu.cpp
@@ -240,7 +240,7 @@ int CIcqProto::OnPreBuildContactMenu(WPARAM wParam, LPARAM)
!DBGetContactSettingByte(hContact, "CList", "NotOnList", 0));
}
- sttEnableMenuItem(g_hContactMenuItems[ICMI_OPEN_PROFILE],getContactUin(hContact));
+ sttEnableMenuItem(g_hContactMenuItems[ICMI_OPEN_PROFILE],getContactUin(hContact) != 0);
BYTE bXStatus = getContactXStatus((HANDLE)wParam);
sttEnableMenuItem(g_hContactMenuItems[ICMI_XSTATUS_DETAILS], m_bHideXStatusUI ? 0 : bXStatus != 0);