From 7178a1cab5b35a8e5bac3e7d367c3d72e72ec7e6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Dec 2017 20:42:04 +0300 Subject: EMLanProto: - plugin converted into Unicode; - fixes #933 (E-mage LAN - new function - directly IP for companion); - fixes utf8 autodetect in messages - version bump --- protocols/EmLanProto/src/mlan.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'protocols/EmLanProto/src/mlan.h') diff --git a/protocols/EmLanProto/src/mlan.h b/protocols/EmLanProto/src/mlan.h index ed151e1212..a314c054cd 100644 --- a/protocols/EmLanProto/src/mlan.h +++ b/protocols/EmLanProto/src/mlan.h @@ -62,7 +62,7 @@ public: void LoadSettings(); void SaveSettings(); - char* GetName() { return m_name; } + wchar_t* GetName() { return m_name; } bool GetUseHostName() { return m_UseHostName; } void SetUseHostName(bool val) { m_UseHostName = val; } void SetRequiredIp(u_long ip) { m_RequiredIp = ip; } @@ -92,8 +92,8 @@ private: TContact* m_pRootContact; HANDLE m_hCheckThread; - char m_name[MAX_HOSTNAME_LEN]; - int m_nameLen; + wchar_t m_name[MAX_HOSTNAME_LEN]; + DWORD m_nameLen; mir_cs m_csAccessClass; mir_cs m_csAccessAwayMes; @@ -174,10 +174,10 @@ private: u_long m_addr; MCONTACT m_hContact; - char* m_szDescription; - char** m_szFiles; - char* m_szDir; - char* m_szRenamedFile; + wchar_t* m_szDescription; + wchar_t** m_szFiles; + wchar_t* m_szDir; + wchar_t* m_szRenamedFile; u_char* m_buf; int m_recSize; -- cgit v1.2.3