summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-17 21:07:24 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-17 21:07:24 +0000
commitdab6220221dd014aa8490a8f56561b383507304e (patch)
tree00507693de5dda70bebcb3acbfc962fcd267af0c /plugins/TabSRMM/src
parentc777014d3717e597a2abb5cf6391f80fd6bd3fad (diff)
crazy check in tabSRMM
git-svn-id: http://svn.miranda-ng.org/main/trunk@5004 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r--plugins/TabSRMM/src/msgdlgutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp
index b3f2e212f2..2f25a63a10 100644
--- a/plugins/TabSRMM/src/msgdlgutils.cpp
+++ b/plugins/TabSRMM/src/msgdlgutils.cpp
@@ -2146,7 +2146,7 @@ HICON TSAPI GetXStatusIcon(const TWindowData *dat)
mir_snprintf(szServiceName, 128, "%s/GetXStatusIcon", dat->cache->getActiveProto());
- if (ServiceExists(szServiceName) && xStatus > 0 && xStatus <= 32)
+ if ( ServiceExists(szServiceName))
return (HICON)(CallProtoService(dat->cache->getActiveProto(), "/GetXStatusIcon", xStatus, 0));
return 0;
}