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
194eeaab
Commit
194eeaab
authored
Jan 09, 2006
by
Phil Krylov
Committed by
Alexandre Julliard
Jan 09, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Fixed calculation of left indent and first indent paragraph
properties.
parent
74aa295f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
editor.c
dlls/riched20/editor.c
+5
-10
No files found.
dlls/riched20/editor.c
View file @
194eeaab
...
...
@@ -420,20 +420,15 @@ static void ME_RTFParAttrHook(RTF_Info *info)
break
;
case
rtfFirstIndent
:
ME_GetSelectionParaFormat
(
info
->
editor
,
&
fmt
);
fmt
.
dwMask
=
PFM_STARTINDENT
;
fmt
.
dxStartIndent
=
info
->
rtfParam
+
fmt
.
dxOffset
;
fmt
.
dwMask
=
PFM_STARTINDENT
|
PFM_OFFSET
;
fmt
.
dxStartIndent
+=
info
->
rtfParam
+
fmt
.
dxOffset
;
fmt
.
dxOffset
=
-
info
->
rtfParam
;
break
;
case
rtfLeftIndent
:
{
int
first
,
left
;
ME_GetSelectionParaFormat
(
info
->
editor
,
&
fmt
);
first
=
fmt
.
dxStartIndent
;
left
=
info
->
rtfParam
;
fmt
.
dwMask
=
PFM_STARTINDENT
|
PFM_OFFSET
;
fmt
.
dxStartIndent
=
first
+
left
;
fmt
.
dxOffset
=
-
first
;
fmt
.
dwMask
=
PFM_STARTINDENT
;
fmt
.
dxStartIndent
=
-
fmt
.
dxOffset
+
info
->
rtfParam
;
break
;
}
case
rtfRightIndent
:
fmt
.
dwMask
=
PFM_RIGHTINDENT
;
fmt
.
dxRightIndent
=
info
->
rtfParam
;
...
...
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