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
2b6b09f5
Commit
2b6b09f5
authored
Jul 26, 2005
by
Phil Krylov
Committed by
Alexandre Julliard
Jul 26, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generate ending \par in RTF output of RichEdit when streaming out a
whole document.
parent
6dd67f3d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
writer.c
dlls/riched20/writer.c
+7
-0
No files found.
dlls/riched20/writer.c
View file @
2b6b09f5
...
@@ -681,6 +681,8 @@ ME_StreamOutRTF(ME_TextEditor *editor, int nStart, int nChars, int dwFormat)
...
@@ -681,6 +681,8 @@ ME_StreamOutRTF(ME_TextEditor *editor, int nStart, int nChars, int dwFormat)
if
(
!
ME_StreamOutPrint
(
editor
,
"
\r\n\\
par"
))
if
(
!
ME_StreamOutPrint
(
editor
,
"
\r\n\\
par"
))
return
FALSE
;
return
FALSE
;
nChars
--
;
nChars
--
;
if
(
editor
->
bEmulateVersion10
&&
nChars
)
nChars
--
;
}
else
{
}
else
{
int
nEnd
;
int
nEnd
;
...
@@ -790,7 +792,12 @@ ME_StreamOut(ME_TextEditor *editor, DWORD dwFormat, EDITSTREAM *stream)
...
@@ -790,7 +792,12 @@ ME_StreamOut(ME_TextEditor *editor, DWORD dwFormat, EDITSTREAM *stream)
nTo
=
-
1
;
nTo
=
-
1
;
}
}
if
(
nTo
==
-
1
)
if
(
nTo
==
-
1
)
{
nTo
=
ME_GetTextLength
(
editor
);
nTo
=
ME_GetTextLength
(
editor
);
/* Generate an end-of-paragraph at the end of SCF_ALL RTF output */
if
(
dwFormat
&
SF_RTF
)
nTo
++
;
}
TRACE
(
"from %d to %d
\n
"
,
nStart
,
nTo
);
TRACE
(
"from %d to %d
\n
"
,
nStart
,
nTo
);
if
(
dwFormat
&
SF_RTF
)
if
(
dwFormat
&
SF_RTF
)
...
...
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