From f719c8b921c7a46b76453476204224d40c682914 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 11 Jul 2018 21:32:58 +0300 Subject: int hLangpack/m_hLang removed and replaced with HPLUGIN --- plugins/AuthState/src/main.cpp | 2 +- plugins/AuthState/src/options.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/AuthState/src') diff --git a/plugins/AuthState/src/main.cpp b/plugins/AuthState/src/main.cpp index dfec97add4..e4da8decb0 100644 --- a/plugins/AuthState/src/main.cpp +++ b/plugins/AuthState/src/main.cpp @@ -170,7 +170,7 @@ int CMPlugin::Load() HookEvent(ME_DB_CONTACT_ADDED, onDBContactAdded); CreateServiceFunction("AuthState/MenuItem", onAuthMenuSelected); - CMenuItem mi(g_plugin); + CMenuItem mi(&g_plugin); SET_UID(mi, 0xc5a784ea, 0x8b07, 0x4b95, 0xa2, 0xb2, 0x84, 0x9d, 0x87, 0x43, 0x7e, 0xda); mi.position = -1999901005; mi.flags = CMIF_UNICODE; diff --git a/plugins/AuthState/src/options.cpp b/plugins/AuthState/src/options.cpp index 750cbe670c..d7f8b70cac 100644 --- a/plugins/AuthState/src/options.cpp +++ b/plugins/AuthState/src/options.cpp @@ -21,7 +21,7 @@ int onOptInitialise(WPARAM wParam, LPARAM) { - OPTIONSDIALOGPAGE odp = { 0 }; + OPTIONSDIALOGPAGE odp = {}; odp.szGroup.a = LPGEN("Icons"); odp.szTitle.a = LPGEN("Auth state"); odp.flags = ODPF_BOLDGROUPS; -- cgit v1.2.3