diff options
author | George Hazan <george.hazan@gmail.com> | 2013-06-17 21:07:24 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-06-17 21:07:24 +0000 |
commit | dab6220221dd014aa8490a8f56561b383507304e (patch) | |
tree | 00507693de5dda70bebcb3acbfc962fcd267af0c /plugins/TabSRMM/src/msgdlgutils.cpp | |
parent | c777014d3717e597a2abb5cf6391f80fd6bd3fad (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/msgdlgutils.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgdlgutils.cpp | 2 |
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;
}
|