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
393512d0
Commit
393512d0
authored
Jan 27, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 30, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetcomm: Don't restore base stream position in sub stream Read.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bb5056ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
mimeole.c
dlls/inetcomm/mimeole.c
+0
-6
No files found.
dlls/inetcomm/mimeole.c
View file @
393512d0
...
...
@@ -230,13 +230,10 @@ static HRESULT WINAPI sub_stream_Read(
{
sub_stream_t
*
This
=
impl_from_IStream
(
iface
);
HRESULT
hr
;
ULARGE_INTEGER
base_pos
;
LARGE_INTEGER
tmp_pos
;
TRACE
(
"(%p, %d, %p)
\n
"
,
pv
,
cb
,
pcbRead
);
tmp_pos
.
QuadPart
=
0
;
IStream_Seek
(
This
->
base
,
tmp_pos
,
STREAM_SEEK_CUR
,
&
base_pos
);
tmp_pos
.
QuadPart
=
This
->
pos
.
QuadPart
+
This
->
start
.
QuadPart
;
IStream_Seek
(
This
->
base
,
tmp_pos
,
STREAM_SEEK_SET
,
NULL
);
...
...
@@ -247,9 +244,6 @@ static HRESULT WINAPI sub_stream_Read(
This
->
pos
.
QuadPart
+=
*
pcbRead
;
tmp_pos
.
QuadPart
=
base_pos
.
QuadPart
;
IStream_Seek
(
This
->
base
,
tmp_pos
,
STREAM_SEEK_SET
,
NULL
);
return
hr
;
}
...
...
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