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
cb4a41b8
Commit
cb4a41b8
authored
Mar 16, 2008
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
richedit: Fix reading paragraph left & first indentation attributes.
parent
f628a1c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
editor.c
dlls/riched20/editor.c
+6
-4
No files found.
dlls/riched20/editor.c
View file @
cb4a41b8
...
@@ -471,14 +471,16 @@ static void ME_RTFParAttrHook(RTF_Info *info)
...
@@ -471,14 +471,16 @@ static void ME_RTFParAttrHook(RTF_Info *info)
}
}
case
rtfFirstIndent
:
case
rtfFirstIndent
:
ME_GetSelectionParaFormat
(
info
->
editor
,
&
fmt
);
ME_GetSelectionParaFormat
(
info
->
editor
,
&
fmt
);
fmt
.
dwMask
=
PFM_STARTINDENT
|
PFM_OFFSET
;
fmt
.
dwMask
|
=
PFM_STARTINDENT
|
PFM_OFFSET
;
fmt
.
dxStartIndent
+=
info
->
rtfParam
+
fmt
.
dxOffset
;
fmt
.
dxStartIndent
+=
info
->
rtfParam
;
fmt
.
dxOffset
=
-
info
->
rtfParam
;
fmt
.
dxOffset
=
-
info
->
rtfParam
;
break
;
break
;
case
rtfLeftIndent
:
case
rtfLeftIndent
:
/* we assume rtfLeftIndent is always specified before rtfFirstIndent */
ME_GetSelectionParaFormat
(
info
->
editor
,
&
fmt
);
ME_GetSelectionParaFormat
(
info
->
editor
,
&
fmt
);
fmt
.
dwMask
=
PFM_STARTINDENT
;
fmt
.
dwMask
|=
PFM_STARTINDENT
;
fmt
.
dxStartIndent
=
-
fmt
.
dxOffset
+
info
->
rtfParam
;
fmt
.
dxStartIndent
=
info
->
rtfParam
;
fmt
.
dxOffset
=
0
;
break
;
break
;
case
rtfRightIndent
:
case
rtfRightIndent
:
fmt
.
dwMask
=
PFM_RIGHTINDENT
;
fmt
.
dwMask
=
PFM_RIGHTINDENT
;
...
...
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