From 2ebd5155bdf88bdb3fbc76fbf7e9fdc9765133d6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 12 Mar 2019 19:37:35 +0300 Subject: fixes for format specifiers --- plugins/ShellExt/src/shlcom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/ShellExt') 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; -- cgit v1.2.3