From 4882bc420186a4aef19be699e3f621dec932417d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 2 Dec 2016 23:55:15 +0300 Subject: MS_SYSTEM_* services became functions --- plugins/Ping/src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Ping') diff --git a/plugins/Ping/src/utils.cpp b/plugins/Ping/src/utils.cpp index 8eb2002532..f1882181dc 100644 --- a/plugins/Ping/src/utils.cpp +++ b/plugins/Ping/src/utils.cpp @@ -28,7 +28,7 @@ void CALLBACK sttMainThreadCallback(ULONG_PTR dwParam) void __stdcall ShowPopup(wchar_t *line1, wchar_t *line2, int flags) { - if (CallService(MS_SYSTEM_TERMINATED, 0, 0)) return; + if (Miranda_IsTerminated()) return; if (ServiceExists(MS_POPUP_ADDPOPUPCLASS)) { ShowClassPopupT("pingpopups", line1, line2); -- cgit v1.2.3