From 0af8e937d7c37f71beb9fb17d45c5ac89a8500b0 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Mon, 18 Feb 2013 09:18:15 +0000 Subject: - Create PopUp options pages only when popup plugin present git-svn-id: http://svn.miranda-ng.org/main/trunk@3626 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IcqOscarJ/src/icq_opts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/IcqOscarJ') diff --git a/protocols/IcqOscarJ/src/icq_opts.cpp b/protocols/IcqOscarJ/src/icq_opts.cpp index e43d1dc719..3210593753 100644 --- a/protocols/IcqOscarJ/src/icq_opts.cpp +++ b/protocols/IcqOscarJ/src/icq_opts.cpp @@ -606,7 +606,7 @@ int CIcqProto::OnOptionsInit(WPARAM wParam, LPARAM lParam) odp.pfnDlgProc = DlgProcIcqPrivacyOpts; Options_AddPage(wParam, &odp); - if (bPopUpService) { + if (ServiceExists(MS_POPUP_ADDPOPUP)) { odp.position = 100000000; odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_POPUPS); odp.groupPosition = 900000000; -- cgit v1.2.3