From 830d54f9e030a7cf06e5ec7b51a52aa21ab5e457 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 2 Apr 2014 19:28:00 +0000 Subject: - implements #622 (zero email counter is not displayed in clist modern's status bar); - BYTE variables became bool when possible git-svn-id: http://svn.miranda-ng.org/main/trunk@8829 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/modern_clui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Clist_modern/src/modern_clui.cpp') diff --git a/plugins/Clist_modern/src/modern_clui.cpp b/plugins/Clist_modern/src/modern_clui.cpp index e241b27d11..0b881617bc 100644 --- a/plugins/Clist_modern/src/modern_clui.cpp +++ b/plugins/Clist_modern/src/modern_clui.cpp @@ -1030,7 +1030,7 @@ static int CLUI_CreateTimerForConnectingIcon(WPARAM wParam, LPARAM lParam) if (!szProto || !status) return 0; - if ((g_StatusBarData.connectingIcon == 1) && status >= ID_STATUS_CONNECTING && status <= ID_STATUS_CONNECTING+MAX_CONNECT_RETRIES) { + if (g_StatusBarData.bConnectingIcon && status >= ID_STATUS_CONNECTING && status <= ID_STATUS_CONNECTING+MAX_CONNECT_RETRIES) { PROTOTICKS *pt = CLUI_GetProtoTicksByProto(szProto); if (pt != NULL) { if (pt->nCycleStartTick == 0) { -- cgit v1.2.3