From 622d5101fe221d6839c859e0a643259f2cc474c9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 5 Nov 2013 18:46:19 +0000 Subject: - GetAverageMode moved to CLIST_INTERFACE; - copy of it removed from clist_modern git-svn-id: http://svn.miranda-ng.org/main/trunk@6793 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/clist/clistmenus.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/clist/clistmenus.cpp') diff --git a/src/modules/clist/clistmenus.cpp b/src/modules/clist/clistmenus.cpp index 6ca756072f..85bb7f799b 100644 --- a/src/modules/clist/clistmenus.cpp +++ b/src/modules/clist/clistmenus.cpp @@ -153,7 +153,7 @@ void FreeMenuProtos(void) ////////////////////////////////////////////////////////////////////////// -int GetAverageMode(int* pNetProtoCount = NULL) +int fnGetAverageMode(int *pNetProtoCount) { int netProtoCount = 0; int averageMode = 0; @@ -501,7 +501,7 @@ INT_PTR StatusMenuCheckService(WPARAM wParam, LPARAM) } } else if (smep && smep->status && !smep->custom) { - int curProtoStatus = (smep->proto) ? CallProtoServiceInt(NULL,smep->proto, PS_GETSTATUS, 0, 0) : GetAverageMode(); + int curProtoStatus = (smep->proto) ? CallProtoServiceInt(NULL,smep->proto, PS_GETSTATUS, 0, 0) : cli.pfnGetAverageMode(NULL); if (smep->status == curProtoStatus) timi->mi.flags |= CMIF_CHECKED; else @@ -1064,7 +1064,7 @@ static int MenuProtoAck(WPARAM, LPARAM lParam) if (hStatusMainMenuHandles == NULL) return 0; if (cli.pfnGetProtocolVisibility(ack->szModule) == 0) return 0; - int overallStatus = GetAverageMode(); + int overallStatus = cli.pfnGetAverageMode(NULL); TMO_MenuItem tmi = { sizeof(tmi) }; if (overallStatus >= ID_STATUS_OFFLINE) { -- cgit v1.2.3