From 784fd9772696a78479e93a3bbbe2a0c19998e2e7 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Thu, 22 Nov 2012 08:31:08 +0000 Subject: ShlExt: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@2429 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ShlExt/shlcom.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ShlExt/shlcom.pas b/plugins/ShlExt/shlcom.pas index c33921e492..fb9b4fa780 100644 --- a/plugins/ShlExt/shlcom.pas +++ b/plugins/ShlExt/shlcom.pas @@ -1862,7 +1862,7 @@ var szTmp: array [0 .. 63] of Char; dwCaps: Cardinal; begin - if (CallService(MS_PROTO_ENUMPROTOCOLS, wParam(@protoCount), lParam(@pp)) = 0) and + if (CallService(MS_PROTO_ENUMACCOUNTS, wParam(@protoCount), lParam(@pp)) = 0) and (protoCount <> 0) then begin spi.pid := GetCurrentProcessId(); -- cgit v1.2.3