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
625d872b
Commit
625d872b
authored
Aug 23, 2005
by
Phil Krylov
Committed by
Alexandre Julliard
Aug 23, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed EM_EXLINEFROMCHAR to work for last row of a paragraph.
parent
e3a35a86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
row.c
dlls/riched20/row.c
+4
-0
No files found.
dlls/riched20/row.c
View file @
625d872b
...
...
@@ -116,10 +116,14 @@ ME_RowNumberFromCharOfs(ME_TextEditor *editor, int nOfs)
}
if
(
item
)
{
ME_DisplayItem
*
next_para
=
item
->
member
.
para
.
next_para
;
nOfs
-=
item
->
member
.
para
.
nCharOfs
;
item
=
ME_FindItemFwd
(
item
,
diRun
);
while
((
item
=
ME_FindItemFwd
(
item
,
diStartRowOrParagraph
))
!=
NULL
)
{
if
(
item
==
next_para
)
break
;
item
=
ME_FindItemFwd
(
item
,
diRun
);
if
(
item
->
member
.
run
.
nCharOfs
>
nOfs
)
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