From 2ffd7a1ac8fcb181bebaf3e8f4f21a9a102119fd Mon Sep 17 00:00:00 2001 From: sje Date: Sun, 15 Jul 2007 15:05:42 +0000 Subject: utf8 fixes git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@286 4f64403b-2f21-0410-a795-97e2b3489a10 --- metacontacts/meta_services.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'metacontacts/meta_services.c') diff --git a/metacontacts/meta_services.c b/metacontacts/meta_services.c index 796e2f8..b2a9ed7 100644 --- a/metacontacts/meta_services.c +++ b/metacontacts/meta_services.c @@ -392,6 +392,8 @@ int Meta_SendMessage(WPARAM wParam,LPARAM lParam) dbei.flags = DBEF_SENT; dbei.timestamp = time(NULL); dbei.eventType = EVENTTYPE_MESSAGE; + if(ccs->wParam & PREF_RTL) dbei.flags |= DBEF_RTL; + if(ccs->wParam & PREF_UTF) dbei.flags |= DBEF_UTF; dbei.cbBlob = strlen((char *)ccs->lParam) + 1; if ( ccs->wParam & PREF_UNICODE ) dbei.cbBlob *= ( sizeof( wchar_t )+1 ); -- cgit v1.2.3