summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/menus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Telegram/src/menus.cpp')
-rw-r--r--protocols/Telegram/src/menus.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Telegram/src/menus.cpp b/protocols/Telegram/src/menus.cpp
index fd57a2e771..5a58072f46 100644
--- a/protocols/Telegram/src/menus.cpp
+++ b/protocols/Telegram/src/menus.cpp
@@ -25,7 +25,7 @@ void CTelegramProto::InitMenus()
return;
CreateProtoService(MenuExecService, &CTelegramProto::SvcExecMenu);
-
+
CMStringA szServiceName(FORMAT, "%s%s", m_szModuleName, MenuExecService);
CMenuItem mi(&g_plugin);
mi.pszService = szServiceName;
@@ -54,7 +54,7 @@ int CTelegramProto::OnPrebuildNSMenu(WPARAM hContact, LPARAM lParam)
Menu_ShowItem(hmiReply, false);
}
else {
- auto *pDbei = (DB::EventInfo*)lParam;
+ auto *pDbei = (DB::EventInfo *)lParam;
Menu_ShowItem(hmiForward, true);
Menu_ShowItem(hmiReply, mir_strlen(pDbei->szId) > 0 && !Contact::IsReadonly(hContact));