From f52b5cc86d9eff2494902157c8fc0a4e019a3c95 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 15 Aug 2017 13:49:37 +0300 Subject: fixes #799 (Crash on receiving msg in FB group chat) --- include/delphi/m_message.inc | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'include/delphi/m_message.inc') diff --git a/include/delphi/m_message.inc b/include/delphi/m_message.inc index 764287720a..c564f602f6 100644 --- a/include/delphi/m_message.inc +++ b/include/delphi/m_message.inc @@ -78,19 +78,10 @@ type function Srmm_GetWindowData(hContact:TMCONTACT; pResult:PMessageWindowData) : int; stdcall; external AppDll; -type - PStatusTextData = ^TStatusTextData; - TStatusTextData = record - hIcon :HICON; - tszText:array [0..99] of WideChar; - end; - -{ wparam=(TMCONTACT)hContact - lparam=PStatusTextData or NIL to clear statusbar - Sets a statusbar line text for the appropriate contact +{ wparam=0(unused) + lparam=(pMessageWindowEvent) event written + fired before SRMM writes an entered message into the database } -const - MS_MSG_SETSTATUSTEXT:PAnsiChar = 'MessageAPI/SetStatusText'; type pMessageWindowEvent = ^tMessageWindowEvent; @@ -101,10 +92,6 @@ type end; const -{ wparam=0(unused) - lparam=(pMessageWindowEvent) event written - fired before SRMM writes an entered message into the database -} ME_MSG_PRECREATEEVENT:PAnsiChar = 'MessageAPI/PreCreateEvent'; { wParam = 0 -- cgit v1.2.3