Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
289d032e
Commit
289d032e
authored
Jan 28, 2017
by
Zebediah Figura
Committed by
Alexandre Julliard
Jan 31, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
>
parent
cb4545ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
storage.c
dlls/storage.dll16/storage.c
+3
-3
No files found.
dlls/storage.dll16/storage.c
View file @
289d032e
...
...
@@ -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
);
ISt
ream16Impl
*
lpstg
;
ISt
orage16Impl
*
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
)
{
ISt
ream16_fnRelease
(
&
lpstg
->
IStream
16_iface
);
ISt
orage16_fnRelease
(
&
lpstg
->
IStorage
16_iface
);
return
E_FAIL
;
}
if
(
1
!=
STORAGE_get_pps_entry
(
&
lpstg
->
str
,
newpps
,
&
(
lpstg
->
stde
)))
{
ISt
ream16_fnRelease
(
&
lpstg
->
IStream
16_iface
);
ISt
orage16_fnRelease
(
&
lpstg
->
IStorage
16_iface
);
return
E_FAIL
;
}
lpstg
->
ppsent
=
newpps
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment