Nikolay Sivov : mlang: Call interface methods properly.

Alexandre Julliard julliard at winehq.org
Mon Aug 20 14:16:17 CDT 2012


Module: wine
Branch: master
Commit: 64e94c22c9648c5ac2a604602cb33ef85cf4933d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=64e94c22c9648c5ac2a604602cb33ef85cf4933d

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Sun Aug 19 19:55:54 2012 +0400

mlang: Call interface methods properly.

---

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

diff --git a/dlls/mlang/mlang.c b/dlls/mlang/mlang.c
index 2c6e6f7..775a723 100644
--- a/dlls/mlang/mlang.c
+++ b/dlls/mlang/mlang.c
@@ -2883,7 +2883,7 @@ static HRESULT WINAPI fnIMultiLanguage2_GetLcidFromRfc1766(
     if (!pLocale || !bstrRfc1766)
         return E_INVALIDARG;
 
-    hr = IMultiLanguage2_EnumRfc1766(iface, 0, &rfc1766);
+    hr = IMultiLanguage3_EnumRfc1766(iface, 0, &rfc1766);
     if (FAILED(hr))
         return hr;
 
@@ -3094,7 +3094,7 @@ static HRESULT WINAPI fnIMultiLanguage2_ValidateCodePage(
     UINT uiCodePage,
     HWND hwnd)
 {
-    return IMultiLanguage2_ValidateCodePageEx(iface,uiCodePage,hwnd,0);
+    return IMultiLanguage3_ValidateCodePageEx(iface,uiCodePage,hwnd,0);
 }
 
 static HRESULT WINAPI fnIMultiLanguage2_GetCodePageDescription(
@@ -3132,7 +3132,7 @@ static HRESULT WINAPI fnIMultiLanguage2_IsCodePageInstallable(
     TRACE("%u\n", uiCodePage);
 
     /* FIXME: the installable set is usually larger than the set of valid codepages */
-    return IMultiLanguage2_ValidateCodePageEx(iface, uiCodePage, NULL, CPIOD_PEEK);
+    return IMultiLanguage3_ValidateCodePageEx(iface, uiCodePage, NULL, CPIOD_PEEK);
 }
 
 static HRESULT WINAPI fnIMultiLanguage2_SetMimeDBSource(




More information about the wine-cvs mailing list