Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
76029ee9
Commit
76029ee9
authored
May 05, 2008
by
Dylan Smith
Committed by
Alexandre Julliard
May 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
richedit: The wrong bits were cleared from wBorders in PARAFORMAT2.
parent
6f11b1b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
editor.c
dlls/riched20/editor.c
+5
-5
No files found.
dlls/riched20/editor.c
View file @
76029ee9
...
...
@@ -620,31 +620,31 @@ static void ME_RTFParAttrHook(RTF_Info *info)
case
rtfBorderSingle
:
ME_GetSelectionParaFormat
(
info
->
editor
,
&
fmt
);
/* we assume that borders have been created before (RTF spec) */
fmt
.
wBorders
&=
~
0x70
;
fmt
.
wBorders
&=
~
0x70
0
;
fmt
.
wBorders
|=
1
<<
8
;
break
;
case
rtfBorderThick
:
ME_GetSelectionParaFormat
(
info
->
editor
,
&
fmt
);
/* we assume that borders have been created before (RTF spec) */
fmt
.
wBorders
&=
~
0x70
;
fmt
.
wBorders
&=
~
0x70
0
;
fmt
.
wBorders
|=
2
<<
8
;
break
;
case
rtfBorderShadow
:
ME_GetSelectionParaFormat
(
info
->
editor
,
&
fmt
);
/* we assume that borders have been created before (RTF spec) */
fmt
.
wBorders
&=
~
0x70
;
fmt
.
wBorders
&=
~
0x70
0
;
fmt
.
wBorders
|=
10
<<
8
;
break
;
case
rtfBorderDouble
:
ME_GetSelectionParaFormat
(
info
->
editor
,
&
fmt
);
/* we assume that borders have been created before (RTF spec) */
fmt
.
wBorders
&=
~
0x70
;
fmt
.
wBorders
&=
~
0x70
0
;
fmt
.
wBorders
|=
7
<<
8
;
break
;
case
rtfBorderDot
:
ME_GetSelectionParaFormat
(
info
->
editor
,
&
fmt
);
/* we assume that borders have been created before (RTF spec) */
fmt
.
wBorders
&=
~
0x70
;
fmt
.
wBorders
&=
~
0x70
0
;
fmt
.
wBorders
|=
11
<<
8
;
break
;
case
rtfBorderWidth
:
...
...
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