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
6b9b7b2d
Commit
6b9b7b2d
authored
Oct 28, 2020
by
Huw Davies
Committed by
Alexandre Julliard
Oct 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Use the paragraph from the cursor.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f9a82574
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
undo.c
dlls/riched20/undo.c
+4
-6
No files found.
dlls/riched20/undo.c
View file @
6b9b7b2d
...
...
@@ -335,13 +335,11 @@ static void ME_PlayUndoItem(ME_TextEditor *editor, struct undo_item *undo)
case
undo_set_para_fmt
:
{
ME_Cursor
tmp
;
ME_DisplayItem
*
para
;
cursor_from_char_ofs
(
editor
,
undo
->
u
.
set_para_fmt
.
pos
,
&
tmp
);
para
=
ME_FindItemBack
(
tmp
.
pRun
,
diParagraph
);
add_undo_set_para_fmt
(
editor
,
&
para
->
member
.
para
);
para
->
member
.
para
.
fmt
=
undo
->
u
.
set_para_fmt
.
fmt
;
para
->
member
.
para
.
border
=
undo
->
u
.
set_para_fmt
.
border
;
para_mark_rewrap
(
editor
,
&
para
->
member
.
para
);
add_undo_set_para_fmt
(
editor
,
&
tmp
.
pPara
->
member
.
para
);
tmp
.
pPara
->
member
.
para
.
fmt
=
undo
->
u
.
set_para_fmt
.
fmt
;
tmp
.
pPara
->
member
.
para
.
border
=
undo
->
u
.
set_para_fmt
.
border
;
para_mark_rewrap
(
editor
,
&
tmp
.
pPara
->
member
.
para
);
break
;
}
case
undo_set_char_fmt
:
...
...
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