msi: Fix a copy and paste error

James Hawkins truiken at gmail.com
Thu Jul 12 13:35:57 CDT 2007


Hi,

Fixes bug 8935.  http://bugs.winehq.org/show_bug.cgi?id=8935

Changelog:
* Fix a copy and paste error.

 dlls/msi/package.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-- 
James Hawkins
-------------- next part --------------
diff --git a/dlls/msi/package.c b/dlls/msi/package.c
index f3d6130..31bfb7e 100644
--- a/dlls/msi/package.c
+++ b/dlls/msi/package.c
@@ -1666,7 +1666,7 @@ HRESULT WINAPI mrp_GetComponentState( IW
 HRESULT WINAPI mrp_SetComponentState( IWineMsiRemotePackage *iface, BSTR component, INSTALLSTATE state )
 {
     msi_remote_package_impl* This = mrp_from_IWineMsiRemotePackage( iface );
-    UINT r = MsiSetFeatureStateW(This->package, (LPWSTR)component, state);
+    UINT r = MsiSetComponentStateW(This->package, (LPWSTR)component, state);
     return HRESULT_FROM_WIN32(r);
 }
 
-- 
1.4.1


More information about the wine-patches mailing list