Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
68ccc4ae
Commit
68ccc4ae
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: When handling \pard in RTF stream, really resets all paragraph styles.
parent
cb4a41b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
editor.c
dlls/riched20/editor.c
+7
-2
No files found.
dlls/riched20/editor.c
View file @
68ccc4ae
...
...
@@ -452,10 +452,15 @@ static void ME_RTFParAttrHook(RTF_Info *info)
switch
(
info
->
rtfMinor
)
{
case
rtfParDef
:
/* restores default paragraph attributes */
fmt
.
dwMask
=
PFM_ALIGNMENT
|
PFM_TABSTOPS
|
PFM_OFFSET
|
PFM_STARTINDENT
;
fmt
.
dwMask
=
PFM_ALIGNMENT
|
PFM_BORDER
|
PFM_LINESPACING
|
PFM_TABSTOPS
|
PFM_OFFSET
|
PFM_RIGHTINDENT
|
PFM_SPACEAFTER
|
PFM_SPACEBEFORE
|
PFM_STARTINDENT
;
/* TODO: numbering, shading */
fmt
.
wAlignment
=
PFA_LEFT
;
fmt
.
cTabCount
=
0
;
fmt
.
dxOffset
=
fmt
.
dxStartIndent
=
0
;
fmt
.
dxOffset
=
fmt
.
dxStartIndent
=
fmt
.
dxRightIndent
=
0
;
fmt
.
wBorderWidth
=
fmt
.
wBorders
=
0
;
fmt
.
bLineSpacingRule
=
0
;
fmt
.
dySpaceBefore
=
fmt
.
dySpaceAfter
=
0
;
RTFFlushOutputBuffer
(
info
);
ME_GetParagraph
(
info
->
editor
->
pCursors
[
0
].
pRun
)
->
member
.
para
.
bTable
=
FALSE
;
break
;
...
...
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