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
d464e7b5
Commit
d464e7b5
authored
Dec 18, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Write aCount bytes in nsIInputStream::ReadSegments.
parent
bbd4a634
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
navigate.c
dlls/mshtml/navigate.c
+3
-3
No files found.
dlls/mshtml/navigate.c
View file @
d464e7b5
...
...
@@ -180,10 +180,10 @@ static nsresult NSAPI nsInputStream_ReadSegments(nsIInputStream *iface,
if
(
!
This
->
buf_size
)
return
S_OK
;
if
(
This
->
buf_size
>
aCount
)
FIXME
(
"buf_size > aCount
\n
"
)
;
if
(
aCount
>
This
->
buf_size
)
aCount
=
This
->
buf_size
;
nsres
=
aWriter
(
NSINSTREAM
(
This
),
aClousure
,
This
->
buf
,
0
,
This
->
buf_size
,
&
written
);
nsres
=
aWriter
(
NSINSTREAM
(
This
),
aClousure
,
This
->
buf
,
0
,
aCount
,
&
written
);
if
(
NS_FAILED
(
nsres
))
TRACE
(
"aWritter failed: %08x
\n
"
,
nsres
);
else
if
(
written
!=
This
->
buf_size
)
...
...
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