set fnIMLangFontLink_GetStrCodePages stub return values

Kovács András andras at csevego.net
Tue Oct 24 20:54:22 CDT 2006


Hi,
This patch sets fnIMLangFontLink_GetStrCodePages stub's out params & return 
value. Dreamweaver 8 expect this, otherwise it will crash when we type for 
example a latin2 character (ő,ű)
-- 
------------------
andras
NetClub
Lamarr
csevego.net
andras at csevego.net
------------------
-------------- next part --------------
From d9cfa95a3ad3dff3d0d8929ea2b1f996bfb23a84 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Andr=C3=A1s_Kov=C3=A1cs?= <andras at debian.sth.sze.hu>
Date: Wed, 25 Oct 2006 03:47:41 +0200
Subject: [PATCH] Set fnIMLangFontLink_GetStrCodePages stub return values
---
 dlls/mlang/mlang.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/mlang/mlang.c b/dlls/mlang/mlang.c
index 52e932d..796c626 100644
--- a/dlls/mlang/mlang.c
+++ b/dlls/mlang/mlang.c
@@ -1281,8 +1281,10 @@ static HRESULT WINAPI fnIMLangFontLink_G
         DWORD* pdwCodePages,
         long* pcchCodePages)
 {
-    FIXME("\n");
-    return E_NOTIMPL;
+    FIXME("(pszSrc=%s, cchSrc=%ld, dwPriorityCodePages=%d) stub\n", debugstr_w(pszSrc), cchSrc, dwPriorityCodePages);
+    *pdwCodePages = 0;
+    *pcchCodePages = 1;
+    return S_OK;
 }
 
 static HRESULT WINAPI fnIMLangFontLink_CodePageToCodePages(
-- 
1.4.1.1



More information about the wine-patches mailing list