Module: wine Branch: master Commit: 289d032e766fca240e02e967224f823a4a4c6fb2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=289d032e766fca240e02e96722...
Author: Zebediah Figura z.figura12@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@gmail.com Signed-off-by: Alexandre Julliard julliard@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;