summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/SRC/clistmod.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-15 17:24:17 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-15 17:24:17 +0000
commit84932349d8a832c0a0b19092160a92d3110d6914 (patch)
treec75bcf9ff2da87f235456935ffd0709762dc3b2c /plugins/Clist_nicer/SRC/clistmod.cpp
parent3744b5146df8530d3b43a972d58223cb3ffb533c (diff)
adaptation of clist nicer for TTB, part I
git-svn-id: http://svn.miranda-ng.org/main/trunk@431 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/SRC/clistmod.cpp')
-rw-r--r--plugins/Clist_nicer/SRC/clistmod.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Clist_nicer/SRC/clistmod.cpp b/plugins/Clist_nicer/SRC/clistmod.cpp
index 5e551d4b87..e6f88e51ee 100644
--- a/plugins/Clist_nicer/SRC/clistmod.cpp
+++ b/plugins/Clist_nicer/SRC/clistmod.cpp
@@ -72,13 +72,11 @@ int IconFromStatusMode(const char *szProto, int status, HANDLE hContact, HICON *
}
if(status >= ID_STATUS_CONNECTING && status < ID_STATUS_OFFLINE && phIcon != NULL) {
- if(szProto && cfg::dat.IcoLib_Avail) {
+ if(szProto) {
char szBuf[128];
mir_snprintf(szBuf, 128, "%s_conn", szProto);
*phIcon = (HICON)CallService(MS_SKIN2_GETICON, 0, (LPARAM)szBuf);
}
- else if(szProto)
- *phIcon = cfg::dat.hIconConnecting;;
}
return saveIconFromStatusMode(szFinalProto, finalStatus, hContact);
}