[1/5] mlang: Ignore MLCONVCHARF_USEDEFCHAR in IMLangConvertCharset_Initialize()

Nikolay Sivov nsivov at codeweavers.com
Wed Sep 26 08:49:07 CDT 2012


There's no way to specify default char for IMLangConvertCharset

-------------- next part --------------
>From f44eec7dd81b281396ec7931edc9c53f0c699c60 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <nsivov at codeweavers.com>
Date: Wed, 26 Sep 2012 17:30:09 +0400
Subject: [PATCH 1/5] Ignore MLCONVCHARF_USEDEFCHAR in IMLangConvertCharset_Initialize()

---
 dlls/mlang/mlang.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/mlang/mlang.c b/dlls/mlang/mlang.c
index 0253eec..d86f80a 100644
--- a/dlls/mlang/mlang.c
+++ b/dlls/mlang/mlang.c
@@ -3568,6 +3568,7 @@ static HRESULT WINAPI MLangConvertCharset_Initialize(IMLangConvertCharset *iface
 
     TRACE("(%p)->(%u %u 0x%08x)\n", This, src_cp, dst_cp, prop);
 
+    prop &= ~MLCONVCHARF_USEDEFCHAR;
     if (prop)
         FIXME("property 0x%08x not supported\n", prop);
 
-- 
1.5.6.5




More information about the wine-patches mailing list