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
5f3772a7
Commit
5f3772a7
authored
Apr 05, 2017
by
Huw Davies
Committed by
Alexandre Julliard
Apr 05, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Don't compare the colours if the old and new states are both auto.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
71cc41b9
Hide 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 @
5f3772a7
...
...
@@ -769,14 +769,14 @@ ME_StreamOutRTFCharProps(ME_OutStream *pStream, CHARFORMAT2W *fmt)
}
if
((
old_fmt
->
dwEffects
^
fmt
->
dwEffects
)
&
CFE_AUTOBACKCOLOR
||
old_fmt
->
crBackColor
!=
fmt
->
crBackColor
)
(
!
(
fmt
->
dwEffects
&
CFE_AUTOBACKCOLOR
)
&&
old_fmt
->
crBackColor
!=
fmt
->
crBackColor
)
)
{
if
(
fmt
->
dwEffects
&
CFE_AUTOBACKCOLOR
)
i
=
0
;
else
find_color_in_colortbl
(
pStream
,
fmt
->
crBackColor
,
&
i
);
sprintf
(
props
+
strlen
(
props
),
"
\\
cb%u"
,
i
);
}
if
((
old_fmt
->
dwEffects
^
fmt
->
dwEffects
)
&
CFE_AUTOCOLOR
||
old_fmt
->
crTextColor
!=
fmt
->
crTextColor
)
(
!
(
fmt
->
dwEffects
&
CFE_AUTOCOLOR
)
&&
old_fmt
->
crTextColor
!=
fmt
->
crTextColor
)
)
{
if
(
fmt
->
dwEffects
&
CFE_AUTOCOLOR
)
i
=
0
;
else
find_color_in_colortbl
(
pStream
,
fmt
->
crTextColor
,
&
i
);
...
...
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