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
01777ac5
Commit
01777ac5
authored
May 01, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
May 03, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Remove variable yprev which is not really used from ME_ArrowPageDown.
parent
bbbd723a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
caret.c
dlls/riched20/caret.c
+2
-3
No files found.
dlls/riched20/caret.c
View file @
01777ac5
...
...
@@ -1416,7 +1416,7 @@ static void ME_ArrowPageDown(ME_TextEditor *editor, ME_Cursor *pCursor)
}
else
{
ME_DisplayItem
*
pRun
=
pCursor
->
pRun
;
ME_DisplayItem
*
p
;
int
ys
,
yd
,
yp
,
yprev
;
int
ys
,
yd
,
yp
;
int
yOldScrollPos
=
editor
->
vert_si
.
nPos
;
if
(
!
pCursor
->
nOffset
&&
editor
->
bCaretAtEnd
)
...
...
@@ -1425,7 +1425,7 @@ static void ME_ArrowPageDown(ME_TextEditor *editor, ME_Cursor *pCursor)
p
=
ME_FindItemBack
(
pRun
,
diStartRowOrParagraph
);
assert
(
p
->
type
==
diStartRow
);
yp
=
ME_FindItemBack
(
p
,
diParagraph
)
->
member
.
para
.
pt
.
y
;
y
prev
=
y
s
=
y
=
yp
+
p
->
member
.
row
.
pt
.
y
;
ys
=
y
=
yp
+
p
->
member
.
row
.
pt
.
y
;
/* For native richedit controls:
* v1.0 - v3.1 can only scroll down as far as the scrollbar lets us
...
...
@@ -1447,7 +1447,6 @@ static void ME_ArrowPageDown(ME_TextEditor *editor, ME_Cursor *pCursor)
if
(
y
>=
yd
)
break
;
pLast
=
p
;
yprev
=
y
;
}
while
(
1
);
pCursor
->
pRun
=
ME_FindRunInRow
(
editor
,
pLast
,
x
,
&
pCursor
->
nOffset
,
...
...
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