summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-02-19 10:48:23 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-02-19 10:48:23 +0000
commite1a01b5f23430304b900b9817fdcdfd12bc75808 (patch)
tree26628a900ee7679785b853246e99a0754124f91b /src/core
parent940d9acd86edda613e78d173129877decb4373d8 (diff)
- 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
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stdchat/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdchat/src/options.cpp b/src/core/stdchat/src/options.cpp
index 8ad41172ce..678c4dfbda 100644
--- a/src/core/stdchat/src/options.cpp
+++ b/src/core/stdchat/src/options.cpp
@@ -922,7 +922,7 @@ static int OptionsInitialize(WPARAM wParam, LPARAM lParam)
odp.pfnDlgProc = DlgProcOptions2;
Options_AddPage(wParam, &odp);
- if (PopUpInstalled) {
+ if (ServiceExists(MS_POPUP_ADDPOPUP)) {
odp.position = 910000002;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONSPOPUP);
odp.pszTitle = LPGEN("Chat");