From d716f207aa8b71f35e3872fd6b34651703c2beb7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 4 Aug 2012 18:57:44 +0000 Subject: links to options don't work with langpacks git-svn-id: http://svn.miranda-ng.org/main/trunk@1355 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AutoShutdown/src/settingsdlg.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'plugins/AutoShutdown/src') diff --git a/plugins/AutoShutdown/src/settingsdlg.cpp b/plugins/AutoShutdown/src/settingsdlg.cpp index 377882b3c1..046ddb322b 100644 --- a/plugins/AutoShutdown/src/settingsdlg.cpp +++ b/plugins/AutoShutdown/src/settingsdlg.cpp @@ -326,12 +326,13 @@ static INT_PTR CALLBACK SettingsDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPAR } break; case IDC_URL_IDLE: - { OPENOPTIONSDIALOG ood; - ood.cbSize=sizeof(ood); - ood.pszGroup="Status"; /* autotranslated */ - ood.pszPage="Idle"; /* autotranslated */ - ood.pszTab=NULL; - CallService(MS_OPT_OPENOPTIONS,0,(LPARAM)&ood); + { + OPENOPTIONSDIALOG ood; + ood.cbSize = sizeof(ood); + ood.pszGroup = "Status"; /* autotranslated */ + ood.pszPage = "Idle"; /* autotranslated */ + ood.pszTab = NULL; + Options_Open(&ood); return TRUE; } case IDC_COMBO_SHUTDOWNTYPE: -- cgit v1.2.3