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
d4b1938c
Commit
d4b1938c
authored
Apr 21, 2017
by
Huw Davies
Committed by
Alexandre Julliard
Apr 21, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Only write out non-default pattern colours.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
30e8768d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
writer.c
dlls/riched20/writer.c
+4
-2
No files found.
dlls/riched20/writer.c
View file @
d4b1938c
...
...
@@ -723,8 +723,10 @@ ME_StreamOutRTFParaProps(ME_TextEditor *editor, ME_OutStream *pStream,
sprintf
(
props
+
strlen
(
props
),
"
\\
shading%d"
,
fmt
->
wShadingWeight
);
if
(
fmt
->
wShadingStyle
&
0xF
)
strcat
(
props
,
style
[
fmt
->
wShadingStyle
&
0xF
]);
sprintf
(
props
+
strlen
(
props
),
"
\\
cfpat%d
\\
cbpat%d"
,
(
fmt
->
wShadingStyle
>>
4
)
&
0xF
,
(
fmt
->
wShadingStyle
>>
8
)
&
0xF
);
if
((
fmt
->
wShadingStyle
>>
4
)
&
0xf
)
sprintf
(
props
+
strlen
(
props
),
"
\\
cfpat%d"
,
(
fmt
->
wShadingStyle
>>
4
)
&
0xf
);
if
((
fmt
->
wShadingStyle
>>
8
)
&
0xf
)
sprintf
(
props
+
strlen
(
props
),
"
\\
cbpat%d"
,
(
fmt
->
wShadingStyle
>>
8
)
&
0xf
);
}
if
(
*
props
)
strcat
(
props
,
" "
);
...
...
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