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
70890031
Commit
70890031
authored
Feb 11, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 12, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/rebar: Don't try to access band data before it's needed.
parent
141e6146
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
rebar.c
dlls/comctl32/rebar.c
+4
-2
No files found.
dlls/comctl32/rebar.c
View file @
70890031
...
...
@@ -2919,7 +2919,6 @@ REBAR_PushChevron(const REBAR_INFO *infoPtr, UINT uBand, LPARAM lParam)
static
LRESULT
REBAR_LButtonDown
(
REBAR_INFO
*
infoPtr
,
LPARAM
lParam
)
{
REBAR_BAND
*
lpBand
;
UINT
htFlags
;
INT
iHitBand
;
POINT
ptMouseDown
;
...
...
@@ -2927,7 +2926,6 @@ REBAR_LButtonDown (REBAR_INFO *infoPtr, LPARAM lParam)
ptMouseDown
.
y
=
(
short
)
HIWORD
(
lParam
);
REBAR_InternalHitTest
(
infoPtr
,
&
ptMouseDown
,
&
htFlags
,
&
iHitBand
);
lpBand
=
REBAR_GetBand
(
infoPtr
,
iHitBand
);
if
(
htFlags
==
RBHT_CHEVRON
)
{
...
...
@@ -2935,8 +2933,12 @@ REBAR_LButtonDown (REBAR_INFO *infoPtr, LPARAM lParam)
}
else
if
(
htFlags
==
RBHT_GRABBER
||
htFlags
==
RBHT_CAPTION
)
{
REBAR_BAND
*
lpBand
;
TRACE
(
"Starting drag
\n
"
);
lpBand
=
REBAR_GetBand
(
infoPtr
,
iHitBand
);
SetCapture
(
infoPtr
->
hwndSelf
);
infoPtr
->
iGrabbedBand
=
iHitBand
;
...
...
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