From b7928747cf0f8e53a01ee4628c58559862a9a689 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 25 May 2023 18:36:42 +0300 Subject: NewStory: small fixes --- plugins/ExternalAPI/m_text.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'plugins/ExternalAPI') diff --git a/plugins/ExternalAPI/m_text.h b/plugins/ExternalAPI/m_text.h index 2039de8ba1..1c231c2fd2 100644 --- a/plugins/ExternalAPI/m_text.h +++ b/plugins/ExternalAPI/m_text.h @@ -42,17 +42,18 @@ enum // text object flags MTEXT_FLG_CHAR = 0x00000000, MTEXT_FLG_WCHAR = 0x00000001, - MTEXT_FLG_BIDI_RTL = 0x00000002 + MTEXT_FLG_BIDI_RTL = 0x00000002, + MTEXT_FLG_RTF = 0x00000004, }; // subscribe to MText services -MTEXTCONTROL_DLL(HANDLE) MTextRegister(const char *userTitle, DWORD options); +MTEXTCONTROL_DLL(HANDLE) MTextRegister(const char *userTitle, uint32_t options); // allocate text object (unicode) MTEXTCONTROL_DLL(HText) MTextCreateW(HANDLE userHandle, const char *szProto, const wchar_t *text); // allocate text object (advanced) -MTEXTCONTROL_DLL(HText) MTextCreateEx(HANDLE userHandle, void *text, DWORD flags); +MTEXTCONTROL_DLL(HText) MTextCreateEx(HANDLE userHandle, void *text, uint32_t flags); // destroys text object MTEXTCONTROL_DLL(int) MTextDestroy(HText text); -- cgit v1.2.3