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
0d50e018
Commit
0d50e018
authored
Oct 27, 2020
by
Huw Davies
Committed by
Alexandre Julliard
Oct 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Use a run helper in the delete text function.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
245b9231
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
caret.c
dlls/riched20/caret.c
+2
-2
No files found.
dlls/riched20/caret.c
View file @
0d50e018
...
@@ -405,8 +405,8 @@ BOOL ME_InternalDeleteText(ME_TextEditor *editor, ME_Cursor *start,
...
@@ -405,8 +405,8 @@ BOOL ME_InternalDeleteText(ME_TextEditor *editor, ME_Cursor *start,
}
}
if
(
pThisCur
->
nOffset
==
run
->
len
)
if
(
pThisCur
->
nOffset
==
run
->
len
)
{
{
pThisCur
->
pRun
=
ME_FindItemFwd
(
pThisCur
->
pRun
,
diRunOrParagraphOrEnd
);
pThisCur
->
pRun
=
run_get_di
(
run_next
(
&
pThisCur
->
pRun
->
member
.
run
)
);
assert
(
pThisCur
->
pRun
->
type
==
diRun
);
assert
(
pThisCur
->
pRun
);
pThisCur
->
nOffset
=
0
;
pThisCur
->
nOffset
=
0
;
}
}
}
}
...
...
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