summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-06-27 06:27:24 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-06-27 06:27:24 +0000
commit8dcd519961e3e370f17719abb3b3f7420ffe468a (patch)
tree905067d005e647b748b76c3369ea75675eca811e
parent564ca85d661ac802458d1975995da8ed266ba2e1 (diff)
fixes for utf8 formatted messages
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@212 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r--metacontacts/meta_services.c2
-rw-r--r--metacontacts/version.h2
2 files changed, 3 insertions, 1 deletions
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