From 50c8ace2f8329b5ac013e9fcadd1905af19fe6cd Mon Sep 17 00:00:00 2001 From: aunsane Date: Fri, 6 Jan 2017 20:45:48 +0300 Subject: StatusManager: - fixed translation - attempt to fix build on vs 2010 --- plugins/StatusManager/src/main.cpp | 4 +++- plugins/StatusManager/src/options.cpp | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/StatusManager/src/main.cpp b/plugins/StatusManager/src/main.cpp index 12ea42189b..e1cdb19222 100644 --- a/plugins/StatusManager/src/main.cpp +++ b/plugins/StatusManager/src/main.cpp @@ -60,11 +60,13 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD) // interfaces MUUID Interfaces[2] = {0}; +MUUID miidAutoAway = MIID_AUTOAWAY; + MUUID* GetInterfaces(void) { if (IsSubPluginEnabled(AAAMODULENAME)) - Interfaces[0] = MIID_AUTOAWAY; + Interfaces[0] = miidAutoAway; return Interfaces; }; diff --git a/plugins/StatusManager/src/options.cpp b/plugins/StatusManager/src/options.cpp index b80679a06b..c10eb795e3 100644 --- a/plugins/StatusManager/src/options.cpp +++ b/plugins/StatusManager/src/options.cpp @@ -39,7 +39,7 @@ int CSubPluginsOptionsDlg::OnOptionsInit(WPARAM wParam, LPARAM) { OPTIONSDIALOGPAGE odp = { 0 }; odp.hInstance = hInst; - odp.flags = ODPF_BOLDGROUPS | ODPF_UNICODE | ODPF_DONTTRANSLATE; + odp.flags = ODPF_BOLDGROUPS | ODPF_UNICODE; odp.szTitle.w = LPGENW("Status"); odp.szTab.w = LPGENW("Status manager"); odp.pDialog = CSubPluginsOptionsDlg::CreateOptionsPage(); -- cgit v1.2.3