summaryrefslogtreecommitdiff
path: root/plugins/StartupSilence
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StartupSilence')
-rw-r--r--plugins/StartupSilence/src/main.cpp2
-rw-r--r--plugins/StartupSilence/src/stdafx.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/plugins/StartupSilence/src/main.cpp b/plugins/StartupSilence/src/main.cpp
index b94af74fd6..365018167e 100644
--- a/plugins/StartupSilence/src/main.cpp
+++ b/plugins/StartupSilence/src/main.cpp
@@ -396,7 +396,7 @@ static INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LP
break;
case IDC_DELAY2:
- if (!ServiceExists(POPUPONOFF)) {
+ if (!ServiceExists(MS_POPUP_QUERY)) {
MessageBox(0, NEEDPOPUP, NOTICE, MB_OK);
CheckDlgButton(hwndDlg, IDC_DELAY2, BST_UNCHECKED);
PopUp = (BYTE)db_set_b(NULL, MODULE_NAME, PopUpComp, 0);
diff --git a/plugins/StartupSilence/src/stdafx.h b/plugins/StartupSilence/src/stdafx.h
index d6d740dd49..d0ba0c0a19 100644
--- a/plugins/StartupSilence/src/stdafx.h
+++ b/plugins/StartupSilence/src/stdafx.h
@@ -44,8 +44,6 @@ INT_PTR SilenceConnection(WPARAM wParam, LPARAM lParam);
//lParam = 0 - not in use
#define SS_SILENCE_CONNECTION "StartupSilence/SilenceConnection"
-#define POPUPONOFF "Popup/EnableDisableMenuCommand"
-
#define MENU_NAME LPGEN("Silence at startup")
#define DISABLE_SILENCE LPGEN("Toggle Silence OFF")
#define ENABLE_SILENCE LPGEN("Toggle Silence ON")