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
3d291dd7
Commit
3d291dd7
authored
Mar 03, 2017
by
Huw Davies
Committed by
Alexandre Julliard
Mar 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Write the char format for the end-of-paragraph marker.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b60cd683
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
editor.c
dlls/riched20/tests/editor.c
+1
-1
writer.c
dlls/riched20/writer.c
+3
-0
No files found.
dlls/riched20/tests/editor.c
View file @
3d291dd7
...
...
@@ -3951,7 +3951,7 @@ static void test_EM_STREAMOUT_empty_para(void)
SendMessageA
(
hwnd
,
EM_STREAMOUT
,
SF_RTF
,
(
LPARAM
)
&
es
);
ok
((
p
=
strstr
(
buf
,
"
\\
pard"
))
!=
NULL
,
"missing
\\
pard
\n
"
);
todo_wine
ok
(((
p
=
strstr
(
p
,
"
\\
fs"
))
&&
isdigit
(
p
[
3
])),
"missing
\\
fs
\n
"
);
ok
(((
p
=
strstr
(
p
,
"
\\
fs"
))
&&
isdigit
(
p
[
3
])),
"missing
\\
fs
\n
"
);
DestroyWindow
(
hwnd
);
}
...
...
dlls/riched20/writer.c
View file @
3d291dd7
...
...
@@ -1074,6 +1074,9 @@ static BOOL ME_StreamOutRTF(ME_TextEditor *editor, ME_OutStream *pStream,
}
nChars
--
;
}
else
if
(
cursor
.
pRun
->
member
.
run
.
nFlags
&
MERF_ENDPARA
)
{
if
(
!
ME_StreamOutRTFCharProps
(
pStream
,
&
cursor
.
pRun
->
member
.
run
.
style
->
fmt
))
return
FALSE
;
if
(
cursor
.
pPara
->
member
.
para
.
fmt
.
dwMask
&
PFM_TABLE
&&
cursor
.
pPara
->
member
.
para
.
fmt
.
wEffects
&
PFE_TABLE
&&
!
(
cursor
.
pPara
->
member
.
para
.
nFlags
&
(
MEPF_ROWSTART
|
MEPF_ROWEND
|
MEPF_CELL
)))
...
...
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