summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/NewEventNotify/neweventnotify.h3
-rw-r--r--plugins/NewEventNotify/options.cpp8
2 files changed, 4 insertions, 7 deletions
diff --git a/plugins/NewEventNotify/neweventnotify.h b/plugins/NewEventNotify/neweventnotify.h
index df3a7d97a9..c00ba0012e 100644
--- a/plugins/NewEventNotify/neweventnotify.h
+++ b/plugins/NewEventNotify/neweventnotify.h
@@ -146,9 +146,6 @@
#define POPUP_COMMENT_EMAILEXP "ICQ Email express"
#define POPUP_COMMENT_OTHER "Unknown Event"
-#define OPTIONS_GROUP "PopUps"
-#define OPTIONS_TITLE "Event Notify"
-
#define MENUITEM_NAME "Notify of new events"
#define MENUITEM_ENABLE "Enable new event notification"
diff --git a/plugins/NewEventNotify/options.cpp b/plugins/NewEventNotify/options.cpp
index 834fb07474..2e22a9f5cd 100644
--- a/plugins/NewEventNotify/options.cpp
+++ b/plugins/NewEventNotify/options.cpp
@@ -296,14 +296,14 @@ static INT_PTR CALLBACK OptionsDlgProc(HWND hWnd, UINT message, WPARAM wParam, L
int OptionsAdd(HINSTANCE hInst, WPARAM addInfo)
{
- OPTIONSDIALOGPAGE odp;
if (ServiceExists(MS_POPUP_ADDPOPUP)) {
+ OPTIONSDIALOGPAGE odp = { 0 };
odp.cbSize = sizeof(odp);
odp.hInstance = hInst;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT);
- odp.ptszTitle = TranslateT(OPTIONS_TITLE);
- odp.ptszGroup = TranslateT(OPTIONS_GROUP);
- odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR;
+ odp.pszTitle = LPGEN("Event Notify");
+ odp.pszGroup = LPGEN("PopUps");
+ odp.flags = ODPF_BOLDGROUPS;
odp.pfnDlgProc = OptionsDlgProc;
Options_AddPage( addInfo, &odp);
}