Zebediah Figura : storage.dll16: Fix bad type in IStorage16_fnOpenStorage.
Alexandre Julliard
julliard at winehq.org
Thu Apr 20 12:35:10 CDT 2017
Module: wine
Branch: stable
Commit: d816da8a73922eb34e8ab4979c095d68a4b93d11
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d816da8a73922eb34e8ab4979c095d68a4b93d11
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Sat Jan 28 15:48:34 2017 -0600
storage.dll16: Fix bad type in IStorage16_fnOpenStorage.
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 289d032e766fca240e02e967224f823a4a4c6fb2)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/storage.dll16/storage.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/storage.dll16/storage.c b/dlls/storage.dll16/storage.c
index dcaff5c..74aa7f9 100644
--- a/dlls/storage.dll16/storage.c
+++ b/dlls/storage.dll16/storage.c
@@ -1848,7 +1848,7 @@ HRESULT CDECL IStorage16_fnOpenStorage(IStorage16 *iface, LPCOLESTR16 pwcsName,
IStorage16 *pstgPrio, DWORD grfMode, SNB16 snbExclude, DWORD reserved, IStorage16 **ppstg)
{
IStorage16Impl *This = impl_from_IStorage16(iface);
- IStream16Impl* lpstg;
+ IStorage16Impl *lpstg;
WCHAR name[33];
int newpps;
@@ -1869,12 +1869,12 @@ HRESULT CDECL IStorage16_fnOpenStorage(IStorage16 *iface, LPCOLESTR16 pwcsName,
MultiByteToWideChar( CP_ACP, 0, pwcsName, -1, name, sizeof(name)/sizeof(WCHAR));
newpps = STORAGE_look_for_named_pps(&lpstg->str,This->stde.pps_dir,name);
if (newpps==-1) {
- IStream16_fnRelease(&lpstg->IStream16_iface);
+ IStorage16_fnRelease(&lpstg->IStorage16_iface);
return E_FAIL;
}
if (1!=STORAGE_get_pps_entry(&lpstg->str,newpps,&(lpstg->stde))) {
- IStream16_fnRelease(&lpstg->IStream16_iface);
+ IStorage16_fnRelease(&lpstg->IStorage16_iface);
return E_FAIL;
}
lpstg->ppsent = newpps;
More information about the wine-cvs
mailing list