diff options
-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;
}
|