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
1e758c5e
Commit
1e758c5e
authored
Feb 09, 2011
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Feb 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Do not call callback when no data needs to be flushed.
parent
07cfce6e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
writer.c
dlls/riched20/writer.c
+2
-2
No files found.
dlls/riched20/writer.c
View file @
1e758c5e
...
...
@@ -54,7 +54,7 @@ ME_StreamOutFlush(ME_OutStream *pStream)
LONG
nRemaining
=
0
;
EDITSTREAM
*
stream
=
pStream
->
stream
;
do
{
while
(
nStart
<
pStream
->
pos
)
{
TRACE
(
"sending %u bytes
\n
"
,
pStream
->
pos
-
nStart
);
/* Some apps seem not to set *pcb unless a problem arises, relying
on initial random nWritten value, which is usually >STREAMOUT_BUFFER_SIZE */
...
...
@@ -72,7 +72,7 @@ ME_StreamOutFlush(ME_OutStream *pStream)
return
FALSE
;
pStream
->
written
+=
nWritten
;
nStart
+=
nWritten
;
}
while
(
nStart
<
pStream
->
pos
);
}
pStream
->
pos
=
0
;
return
TRUE
;
}
...
...
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