summaryrefslogtreecommitdiff
path: root/plugins/ShellExt/src/shlcom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ShellExt/src/shlcom.cpp')
-rw-r--r--plugins/ShellExt/src/shlcom.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/ShellExt/src/shlcom.cpp b/plugins/ShellExt/src/shlcom.cpp
index 3cf30d20d1..c77d6f3d86 100644
--- a/plugins/ShellExt/src/shlcom.cpp
+++ b/plugins/ShellExt/src/shlcom.cpp
@@ -193,7 +193,8 @@ void ipcGetSkinIcons(THeaderIPC *ipch)
int protoCount;
PROTOACCOUNT **pp;
- if (ProtoEnumAccounts(&protoCount,&pp) == 0 && protoCount != 0) {
+ Proto_EnumAccounts(&protoCount,&pp);
+ if (protoCount != 0) {
spi.pid = GetCurrentProcessId();
while (protoCount > 0) {
PROTOACCOUNT *pa = *pp;