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
d992735d
Commit
d992735d
authored
Feb 10, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed bound_pos handling in move_prev_chars.
parent
9f877fec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
txtrange.c
dlls/mshtml/txtrange.c
+6
-3
No files found.
dlls/mshtml/txtrange.c
View file @
d992735d
...
...
@@ -826,6 +826,7 @@ static long move_prev_chars(HTMLTxtRange *This, long cnt, const dompos_t *pos, B
{
dompos_t
iter
,
tmp
;
long
ret
=
0
;
BOOL
prev_eq
=
FALSE
;
WCHAR
c
;
if
(
bounded
)
...
...
@@ -847,14 +848,16 @@ static long move_prev_chars(HTMLTxtRange *This, long cnt, const dompos_t *pos, B
ret
++
;
if
(
bound_pos
&&
dompos_cmp
(
&
iter
,
bound_pos
)
)
{
if
(
prev_eq
)
{
*
bounded
=
TRUE
;
cnt
--
;
ret
++
;
}
prev_eq
=
bound_pos
&&
dompos_cmp
(
&
iter
,
bound_pos
);
}
*
new_pos
=
iter
;
return
bounded
&&
*
bounded
?
ret
+
1
:
ret
;
return
ret
;
}
static
long
find_prev_space
(
HTMLTxtRange
*
This
,
const
dompos_t
*
pos
,
BOOL
first_space
,
dompos_t
*
ret
)
...
...
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