From d9fddc0cfa9066eb1b5ad3f4807b37426ae6ca88 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 5 Mar 2019 21:10:22 +0300 Subject: Popup: - wiping out checks for service presence; - code cleaning --- plugins/CmdLine/src/utils.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'plugins/CmdLine') diff --git a/plugins/CmdLine/src/utils.cpp b/plugins/CmdLine/src/utils.cpp index c4b742db8b..e877aa6477 100644 --- a/plugins/CmdLine/src/utils.cpp +++ b/plugins/CmdLine/src/utils.cpp @@ -34,15 +34,6 @@ int Info(char *title, char *format, ...) return MessageBoxA(nullptr, str, title, MB_OK | MB_ICONINFORMATION); } -int MyPUShowMessage(char *lpzText, BYTE kind) -{ - if (ServiceExists(MS_POPUP_SHOWMESSAGE)) - return PUShowMessage(lpzText, kind); - - char *title = (kind == SM_NOTIFY) ? Translate("Notify") : Translate("Warning"); - return MessageBoxA(nullptr, lpzText, title, MB_OK | (kind == SM_NOTIFY) ? MB_ICONINFORMATION : MB_ICONEXCLAMATION); -} - #define HEX_SIZE 8 char *BinToHex(int size, PBYTE data) -- cgit v1.2.3