summaryrefslogtreecommitdiff
path: root/plugins/Bonsai
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Bonsai')
-rw-r--r--plugins/Bonsai/hooked_events.cpp7
-rw-r--r--plugins/Bonsai/services.cpp2
2 files changed, 4 insertions, 5 deletions
diff --git a/plugins/Bonsai/hooked_events.cpp b/plugins/Bonsai/hooked_events.cpp
index 2c32516c83..a104946229 100644
--- a/plugins/Bonsai/hooked_events.cpp
+++ b/plugins/Bonsai/hooked_events.cpp
@@ -76,15 +76,14 @@ int OnModulesLoaded(WPARAM wParam, LPARAM lParam)
int OnOptionsInitialise(WPARAM wParam, LPARAM lParam)
{
OPTIONSDIALOGPAGE odp = {0};
-
odp.cbSize = sizeof(odp);
odp.position = 100000000;
odp.hInstance = hInstance;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_FIXOPTIONS);
- odp.ptszTitle = TranslateT("Arrange Options");
- odp.ptszGroup = TranslateT("Services");
+ odp.pszTitle = LPGEN(("Arrange Options");
+ odp.pszGroup = LPGEN(("Services");
odp.groupPosition = 810000000;
- odp.flags=ODPF_BOLDGROUPS;
+ odp.flags = ODPF_BOLDGROUPS;
odp.pfnDlgProc = DlgProcOptions;
Options_AddPage(wParam, &odp);
diff --git a/plugins/Bonsai/services.cpp b/plugins/Bonsai/services.cpp
index 64d7f92c72..b555d2d7d1 100644
--- a/plugins/Bonsai/services.cpp
+++ b/plugins/Bonsai/services.cpp
@@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
static CRITICAL_SECTION csServices;
-static DWORD OPTIONS_ADDPAGE_HASH = NameHashFunction(MS_OPT_ADDPAGE);
+static DWORD OPTIONS_ADDPAGE_HASH = NameHashFunction("Opt/AddPage");
CALLSERVICEFUNCTION realCallServiceFunction = NULL;