From 334f2948a725ab44b8c856242c2399f920d8ee7b Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Mon, 30 Sep 2013 19:51:19 +0000 Subject: KeyboardNotify: cleanup Jabber: Fixed error message when AdvaImg not found git-svn-id: http://svn.miranda-ng.org/main/trunk@6280 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols') diff --git a/protocols/JabberG/src/jabber.cpp b/protocols/JabberG/src/jabber.cpp index c040ff5f3a..f329037b06 100644 --- a/protocols/JabberG/src/jabber.cpp +++ b/protocols/JabberG/src/jabber.cpp @@ -187,10 +187,10 @@ extern "C" int __declspec(dllexport) Load() mir_getLP(&pluginInfo); mir_getCLI(); - if (ServiceExists(MS_IMG_GETINTERFACE)) { + { INT_PTR result = CallService(MS_IMG_GETINTERFACE, FI_IF_VERSION, (LPARAM)&FIP); if (FIP == NULL || result != S_OK) { - MessageBoxEx(NULL, TranslateT("Fatal error, image services not found. Flags Module will be disabled."), _T("Error"), MB_OK | MB_ICONERROR | MB_APPLMODAL, 0); + MessageBoxEx(NULL, TranslateT("Fatal error, image services not found. Jabber Protocol will be disabled."), _T("Error"), MB_OK | MB_ICONERROR | MB_APPLMODAL, 0); return 1; } } -- cgit v1.2.3