summaryrefslogtreecommitdiff
path: root/plugins/ShellExt
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-03-12 19:37:35 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-03-12 19:37:35 +0300
commit2ebd5155bdf88bdb3fbc76fbf7e9fdc9765133d6 (patch)
treef4a50c8ff88f45e52d20943142de33478559afc7 /plugins/ShellExt
parent413bfdfbc3b4bbcdf5ebe47d83c618c3781c6a82 (diff)
fixes for format specifiers
Diffstat (limited to 'plugins/ShellExt')
-rw-r--r--plugins/ShellExt/src/shlcom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ShellExt/src/shlcom.cpp b/plugins/ShellExt/src/shlcom.cpp
index 94dc2adf5c..2bcc909aaf 100644
--- a/plugins/ShellExt/src/shlcom.cpp
+++ b/plugins/ShellExt/src/shlcom.cpp
@@ -205,7 +205,7 @@ void ipcGetSkinIcons(THeaderIPC *ipch)
if (pct != nullptr) {
// capture all the icons!
spi.hProto = murmur_hash(pa->szModuleName);
- for (int j = 0; j <= 10; j++)
+ for (int j = 0; j < _countof(spi.hIcons); j++)
spi.hIcons[j] = Skin_LoadProtoIcon(pa->szModuleName, ID_STATUS_OFFLINE + j);
pct->fType = REQUEST_NEWICONS;