summaryrefslogtreecommitdiff
path: root/src/modules/options/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/options/options.cpp')
-rw-r--r--src/modules/options/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/options/options.cpp b/src/modules/options/options.cpp
index 9b0c4e0e11..d47ad558c0 100644
--- a/src/modules/options/options.cpp
+++ b/src/modules/options/options.cpp
@@ -1256,10 +1256,10 @@ static void OpenOptionsNow(int hLangpack, const char *pszGroup, const char *pszP
ShowWindow(hwndOptions, SW_RESTORE);
SetForegroundWindow(hwndOptions);
if (pszPage != NULL) {
- mir_ptr<TCHAR> ptszPage( mir_a2t(pszPage));
+ MTBuf ptszPage( mir_a2t(pszPage));
HTREEITEM hItem = NULL;
if (pszGroup != NULL) {
- mir_ptr<TCHAR> ptszGroup( mir_a2t(pszGroup));
+ MTBuf ptszGroup( mir_a2t(pszGroup));
hItem = FindNamedTreeItemAtRoot( GetDlgItem(hwndOptions, IDC_PAGETREE), TranslateTH(hLangpack, ptszGroup));
if (hItem != NULL)
hItem = FindNamedTreeItemAtChildren( GetDlgItem(hwndOptions, IDC_PAGETREE), hItem, TranslateTH(hLangpack, ptszPage));