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
34f9b1bc
Commit
34f9b1bc
authored
May 05, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
May 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Remove variable scrollRange which is not really used from PAGER_NCCalcSize.
parent
9c19df1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
pager.c
dlls/comctl32/pager.c
+0
-5
No files found.
dlls/comctl32/pager.c
View file @
34f9b1bc
...
...
@@ -841,7 +841,6 @@ static LRESULT
PAGER_NCCalcSize
(
PAGER_INFO
*
infoPtr
,
WPARAM
wParam
,
LPRECT
lpRect
)
{
RECT
rcChild
,
rcWindow
;
INT
scrollRange
;
/*
* lpRect points to a RECT struct. On entry, the struct
...
...
@@ -863,8 +862,6 @@ PAGER_NCCalcSize(PAGER_INFO* infoPtr, WPARAM wParam, LPRECT lpRect)
infoPtr
->
nWidth
=
lpRect
->
right
-
lpRect
->
left
;
PAGER_CalcSize
(
infoPtr
,
&
infoPtr
->
nWidth
,
TRUE
);
scrollRange
=
infoPtr
->
nWidth
-
(
rcWindow
.
right
-
rcWindow
.
left
);
if
(
infoPtr
->
TLbtnState
&&
(
lpRect
->
left
+
infoPtr
->
nButtonSize
<
lpRect
->
right
))
lpRect
->
left
+=
infoPtr
->
nButtonSize
;
if
(
infoPtr
->
BRbtnState
&&
(
lpRect
->
right
-
infoPtr
->
nButtonSize
>
lpRect
->
left
))
...
...
@@ -875,8 +872,6 @@ PAGER_NCCalcSize(PAGER_INFO* infoPtr, WPARAM wParam, LPRECT lpRect)
infoPtr
->
nHeight
=
lpRect
->
bottom
-
lpRect
->
top
;
PAGER_CalcSize
(
infoPtr
,
&
infoPtr
->
nHeight
,
FALSE
);
scrollRange
=
infoPtr
->
nHeight
-
(
rcWindow
.
bottom
-
rcWindow
.
top
);
if
(
infoPtr
->
TLbtnState
&&
(
lpRect
->
top
+
infoPtr
->
nButtonSize
<
lpRect
->
bottom
))
lpRect
->
top
+=
infoPtr
->
nButtonSize
;
if
(
infoPtr
->
BRbtnState
&&
(
lpRect
->
bottom
-
infoPtr
->
nButtonSize
>
lpRect
->
top
))
...
...
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