From fed1940981d82c32e339c391b542ec29b165895b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 4 Aug 2013 08:36:10 +0000 Subject: unneeded type conversion removed git-svn-id: http://svn.miranda-ng.org/main/trunk@5573 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SeenPlugin/src/main.cpp | 2 +- plugins/SeenPlugin/src/utils.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/SeenPlugin/src') diff --git a/plugins/SeenPlugin/src/main.cpp b/plugins/SeenPlugin/src/main.cpp index 824050a96e..4cd3e6b492 100644 --- a/plugins/SeenPlugin/src/main.cpp +++ b/plugins/SeenPlugin/src/main.cpp @@ -47,7 +47,7 @@ DBVTranslation idleTr[TRANSNUMBER]={ }; BOOL includeIdle; -LIST arContacts(16, LIST::FTSortFunc(HandleKeySortT)); +LIST arContacts(16, HandleKeySortT); int MainInit(WPARAM,LPARAM) { diff --git a/plugins/SeenPlugin/src/utils.cpp b/plugins/SeenPlugin/src/utils.cpp index 16d7220d19..66fe989393 100644 --- a/plugins/SeenPlugin/src/utils.cpp +++ b/plugins/SeenPlugin/src/utils.cpp @@ -625,7 +625,8 @@ int UpdateValues(WPARAM wparam,LPARAM lparam) if ( db_get_b(hContact, S_MOD, "OnlineAlert", 0)) ShowHistory(hContact, 1); db_set_b(hContact, S_MOD, "Offline", 0); } - } else if (IsWatchedProtocol(cws->szModule)) { + } + else if (IsWatchedProtocol(cws->szModule)) { //here we will come when //Status is changed or it is idle event and if is watched if ( CallProtoService(cws->szModule,PS_GETSTATUS,0,0) > ID_STATUS_OFFLINE){ logthread_info *p = arContacts.find((logthread_info*)&hContact); -- cgit v1.2.3