From f0075f2b956969f29acd3bc9289c8a5f78faddad Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 28 Dec 2017 21:15:52 +0300 Subject: code cleaning --- protocols/FacebookRM/src/theme.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/FacebookRM/src/theme.cpp') diff --git a/protocols/FacebookRM/src/theme.cpp b/protocols/FacebookRM/src/theme.cpp index 7d28554273..3ecd9e5779 100644 --- a/protocols/FacebookRM/src/theme.cpp +++ b/protocols/FacebookRM/src/theme.cpp @@ -222,8 +222,7 @@ int FacebookProto::OnPrebuildContactMenu(WPARAM wParam, LPARAM) Menu_ShowItem(g_hContactMenuPostStatus, !bIsChatroom); Menu_ShowItem(g_hContactMenuLoadHistory, !bIsChatroom); - if (!isOffline() && !bIsChatroom && !bIsPage) - { + if (!isOffline() && !bIsChatroom && !bIsPage) { bool ctrlPressed = (GetKeyState(VK_CONTROL) & 0x8000) != 0; Menu_ShowItem(g_hContactMenuAuthAsk, ctrlPressed || type == CONTACT_NONE || !type); -- cgit v1.2.3