Nikolay Sivov : mlang: Forward GetNumberOfCodePageInfo() to IMultiLanguage3 implementation.

Alexandre Julliard julliard at winehq.org
Tue Sep 25 15:13:37 CDT 2012


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Sep 25 11:48:38 2012 +0400

mlang: Forward GetNumberOfCodePageInfo() to IMultiLanguage3 implementation.

---

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

diff --git a/dlls/mlang/mlang.c b/dlls/mlang/mlang.c
index 31d9985..6a58b1f 100644
--- a/dlls/mlang/mlang.c
+++ b/dlls/mlang/mlang.c
@@ -2064,16 +2064,11 @@ static ULONG WINAPI fnIMultiLanguage_Release( IMultiLanguage* iface )
 
 static HRESULT WINAPI fnIMultiLanguage_GetNumberOfCodePageInfo(
     IMultiLanguage* iface,
-    UINT* pcCodePage)
+    UINT* cp)
 {
     MLang_impl *This = impl_from_IMultiLanguage( iface );
-
-    TRACE("(%p, %p)\n", This, pcCodePage);
-
-    if (!pcCodePage) return E_INVALIDARG;
-
-    *pcCodePage = This->total_cp;
-    return S_OK;
+    TRACE("(%p, %p)\n", This, cp);
+    return IMultiLanguage3_GetNumberOfCodePageInfo(&This->IMultiLanguage3_iface, cp);
 }
 
 static HRESULT WINAPI fnIMultiLanguage_GetCodePageInfo(




More information about the wine-cvs mailing list