From a57b972035bf2866fece4b832849d98e07485a98 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 22 Dec 2014 22:26:47 +0000 Subject: - minus another critical section; - struct SHORTDATA => SHORTDATA git-svn-id: http://svn.miranda-ng.org/main/trunk@11592 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/modern_clc.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/Clist_modern/src/modern_clc.cpp') diff --git a/plugins/Clist_modern/src/modern_clc.cpp b/plugins/Clist_modern/src/modern_clc.cpp index f7dd80ce5f..e6b5cc8717 100644 --- a/plugins/Clist_modern/src/modern_clc.cpp +++ b/plugins/Clist_modern/src/modern_clc.cpp @@ -208,8 +208,7 @@ static int clcHookSettingChanged(WPARAM hContact, LPARAM lParam) else if (!mir_strcmp(cws->szSetting, "XStatusId") || !mir_strcmp(cws->szSetting, "XStatusName")) cliCluiProtocolStatusChanged(0, cws->szModule); } - else // hContact != NULL - { + else { if (!mir_strcmp(cws->szSetting, "TickTS")) pcli->pfnClcBroadcast(INTM_STATUSCHANGED, hContact, 0); else if (!mir_strcmp(cws->szModule, "UserInfo")) { @@ -1777,7 +1776,7 @@ int ClcDoProtoAck(MCONTACT, ACKDATA * ack) return 0; } -int ClcGetShortData(ClcData* pData, struct SHORTDATA *pShortData) +int ClcGetShortData(ClcData* pData, SHORTDATA *pShortData) { if (!pData || !pShortData) return -1; -- cgit v1.2.3