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
41dd4212
Commit
41dd4212
authored
Feb 25, 2013
by
Huw Davies
Committed by
Alexandre Julliard
Feb 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Return a BOOL that indicates whether the hit is exact.
parent
0730db2b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
caret.c
dlls/riched20/caret.c
+4
-4
No files found.
dlls/riched20/caret.c
View file @
41dd4212
...
...
@@ -1177,7 +1177,7 @@ void ME_MouseMove(ME_TextEditor *editor, int x, int y)
ME_SendSelChange
(
editor
);
}
static
void
ME_FindRunInRow
(
ME_TextEditor
*
editor
,
ME_DisplayItem
*
pRow
,
static
BOOL
ME_FindRunInRow
(
ME_TextEditor
*
editor
,
ME_DisplayItem
*
pRow
,
int
x
,
ME_Cursor
*
cursor
,
int
*
pbCaretAtEnd
)
{
ME_DisplayItem
*
pNext
,
*
pLastRun
;
...
...
@@ -1192,7 +1192,7 @@ static void ME_FindRunInRow(ME_TextEditor *editor, ME_DisplayItem *pRow,
{
cursor
->
pRun
=
pNext
;
cursor
->
pPara
=
ME_GetParagraph
(
cursor
->
pRun
);
return
;
return
FALSE
;
}
if
(
x
>=
run_x
&&
x
<
run_x
+
width
)
{
...
...
@@ -1202,7 +1202,7 @@ static void ME_FindRunInRow(ME_TextEditor *editor, ME_DisplayItem *pRow,
cursor
->
nOffset
=
ch
;
cursor
->
pRun
=
pNext
;
cursor
->
pPara
=
ME_GetParagraph
(
cursor
->
pRun
);
return
;
return
TRUE
;
}
}
pLastRun
=
pNext
;
...
...
@@ -1218,7 +1218,7 @@ static void ME_FindRunInRow(ME_TextEditor *editor, ME_DisplayItem *pRow,
cursor
->
pRun
=
pLastRun
;
cursor
->
pPara
=
ME_GetParagraph
(
cursor
->
pRun
);
return
;
return
FALSE
;
}
static
int
ME_GetXForArrow
(
ME_TextEditor
*
editor
,
ME_Cursor
*
pCursor
)
...
...
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