summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-04 08:36:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-04 08:36:10 +0000
commitfed1940981d82c32e339c391b542ec29b165895b (patch)
treecf0691bf06dbb184fa60a84ab58608a1318b54d0
parentfc3091cb598ad8401fb4af2a6e3931141c9895a1 (diff)
unneeded type conversion removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@5573 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/SeenPlugin/src/main.cpp2
-rw-r--r--plugins/SeenPlugin/src/utils.cpp3
2 files changed, 3 insertions, 2 deletions
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<logthread_info> arContacts(16, LIST<logthread_info>::FTSortFunc(HandleKeySortT));
+LIST<logthread_info> 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 <User>/<module>/Status is changed or it is idle event and if <module> is watched
if ( CallProtoService(cws->szModule,PS_GETSTATUS,0,0) > ID_STATUS_OFFLINE){
logthread_info *p = arContacts.find((logthread_info*)&hContact);