diff options
Diffstat (limited to 'plugins/NewAwaySysMod')
-rw-r--r-- | plugins/NewAwaySysMod/AwayOpt.cpp | 21 | ||||
-rw-r--r-- | plugins/NewAwaySysMod/Common.h | 4 |
2 files changed, 8 insertions, 17 deletions
diff --git a/plugins/NewAwaySysMod/AwayOpt.cpp b/plugins/NewAwaySysMod/AwayOpt.cpp index dc8ed83d56..e875afe353 100644 --- a/plugins/NewAwaySysMod/AwayOpt.cpp +++ b/plugins/NewAwaySysMod/AwayOpt.cpp @@ -1758,36 +1758,27 @@ int OptsDlgInit(WPARAM wParam, LPARAM lParam) optDi.cbSize = sizeof(optDi);
optDi.position = 920000000;
optDi.hInstance = g_hInstance;
- optDi.flags = ODPF_BOLDGROUPS | ODPF_TCHAR;
-/*
- optDi.ptszTitle = OPT_TITLE;
- optDi.pfnDlgProc = PopupOptDlg;
- optDi.pszTemplate = MAKEINTRESOURCEA(IDD_POPUPOPTDLG);
- optDi.ptszGroup = OPT_POPUPGROUP;
- Options_AddPage(wParam, &optDi);
-*/
-// optDi.ptszTitle = OPT_TITLE;
- optDi.ptszTitle = OPT_MAINGROUP;
-// optDi.ptszGroup = OPT_MAINGROUP;
+ optDi.flags = ODPF_BOLDGROUPS;
+ optDi.pszTitle = OPT_MAINGROUP;
optDi.pfnDlgProc = MessagesOptDlg;
optDi.pszTemplate = MAKEINTRESOURCEA(IDD_MESSAGES);
- optDi.ptszTab = LPGENT("Statuses messages");
+ optDi.pszTab = LPGEN("Statuses messages");
Options_AddPage(wParam, &optDi);
optDi.pfnDlgProc = MoreOptDlg;
optDi.pszTemplate = MAKEINTRESOURCEA(IDD_MOREOPTDIALOG);
- optDi.ptszTab = LPGENT("Main options");
+ optDi.pszTab = LPGEN("Main options");
Options_AddPage(wParam, &optDi);
optDi.pfnDlgProc = AutoreplyOptDlg;
optDi.pszTemplate = MAKEINTRESOURCEA(IDD_AUTOREPLY);
- optDi.ptszTab = LPGENT("Autoreply");
+ optDi.pszTab = LPGEN("Autoreply");
Options_AddPage(wParam, &optDi);
optDi.pfnDlgProc = ContactsOptDlg;
optDi.pszTemplate = MAKEINTRESOURCEA(IDD_CONTACTSOPTDLG);
- optDi.ptszTab = LPGENT("Contacts");
+ optDi.pszTab = LPGEN("Contacts");
Options_AddPage(wParam, &optDi);
return 0;
}
diff --git a/plugins/NewAwaySysMod/Common.h b/plugins/NewAwaySysMod/Common.h index 7801d3f47e..4c769b4e24 100644 --- a/plugins/NewAwaySysMod/Common.h +++ b/plugins/NewAwaySysMod/Common.h @@ -220,8 +220,8 @@ // options dialog
#define OPT_TITLE LPGENT("Away System")
-#define OPT_MAINGROUP LPGENT("Status")
-#define OPT_POPUPGROUP LPGENT("PopUps")
+#define OPT_MAINGROUP LPGEN("Status")
+#define OPT_POPUPGROUP LPGEN("PopUps")
#define MRM_MAX_GENERATED_TITLE_LEN 35 // maximum length of automatically generated title for recent messages
|