From e1a01b5f23430304b900b9817fdcdfd12bc75808 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Tue, 19 Feb 2013 10:48:23 +0000 Subject: - Create PopUp options pages only when popup plugin present git-svn-id: http://svn.miranda-ng.org/main/trunk@3642 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Scriver/src/chat/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Scriver/src') diff --git a/plugins/Scriver/src/chat/options.cpp b/plugins/Scriver/src/chat/options.cpp index 3cb5352cc0..163f687cb8 100644 --- a/plugins/Scriver/src/chat/options.cpp +++ b/plugins/Scriver/src/chat/options.cpp @@ -759,7 +759,7 @@ static INT_PTR CALLBACK DlgProcOptionsPopup(HWND hwndDlg,UINT uMsg,WPARAM wParam static int OptionsInitialize(WPARAM wParam, LPARAM lParam) { - if (g_dat->popupInstalled) { + if (ServiceExists(MS_POPUP_ADDPOPUP)) { OPTIONSDIALOGPAGE odp = {0}; odp.cbSize = sizeof(odp); odp.position = 910000002; -- cgit v1.2.3