From 8dcd519961e3e370f17719abb3b3f7420ffe468a Mon Sep 17 00:00:00 2001 From: sje Date: Wed, 27 Jun 2007 06:27:24 +0000 Subject: fixes for utf8 formatted messages git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@212 4f64403b-2f21-0410-a795-97e2b3489a10 --- metacontacts/meta_services.c | 2 ++ metacontacts/version.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/metacontacts/meta_services.c b/metacontacts/meta_services.c index 033da47..0cd2647 100644 --- a/metacontacts/meta_services.c +++ b/metacontacts/meta_services.c @@ -496,6 +496,7 @@ int MetaFilter_RecvMessage(WPARAM wParam,LPARAM lParam) dbei.timestamp = pre->timestamp; dbei.flags = (DBGetContactSettingByte(hMeta, META_PROTO, "WindowOpen", 0) ? 0 : DBEF_READ); if(pre->flags & PREF_RTL) dbei.flags |= DBEF_RTL; + if(pre->flags & PREF_UTF) dbei.flags |= DBEF_UTF; dbei.eventType = EVENTTYPE_MESSAGE; dbei.cbBlob = strlen(pre->szMessage) + 1; if ( pre->flags & PREF_UNICODE ) @@ -588,6 +589,7 @@ int Meta_RecvMessage(WPARAM wParam, LPARAM lParam) dbei.timestamp = pre->timestamp; dbei.flags = (pre->flags & PREF_CREATEREAD ? DBEF_READ : 0); if(pre->flags & PREF_RTL) dbei.flags |= DBEF_RTL; + if(pre->flags & PREF_UTF) dbei.flags |= DBEF_UTF; dbei.eventType = EVENTTYPE_MESSAGE; dbei.cbBlob = strlen(pre->szMessage) + 1; if ( pre->flags & PREF_UNICODE ) diff --git a/metacontacts/version.h b/metacontacts/version.h index 7649453..9366930 100644 --- a/metacontacts/version.h +++ b/metacontacts/version.h @@ -5,7 +5,7 @@ #define __MAJOR_VERSION 0 #define __MINOR_VERSION 13 #define __RELEASE_NUM 0 -#define __BUILD_NUM 2 +#define __BUILD_NUM 3 #define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM #define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM -- cgit v1.2.3