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
9b83d4d4
Commit
9b83d4d4
authored
Mar 12, 2004
by
Ulrich Czekalla
Committed by
Alexandre Julliard
Mar 12, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rebar band insertion and non-client calculation in pager control.
parent
fc6fbd01
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
rebar.c
dlls/comctl32/rebar.c
+4
-4
No files found.
dlls/comctl32/rebar.c
View file @
9b83d4d4
...
...
@@ -1674,7 +1674,7 @@ REBAR_Layout (REBAR_INFO *infoPtr, LPRECT lpRect, BOOL notify, BOOL resetclient)
#if PROBLEM2
(
x
<
adjcx
)
:
(
y
<
adjcy
)
#else
(
adjcx
-
x
>
4
)
:
(
adjcy
-
y
>
4
)
(
adjcx
-
x
>
5
)
:
(
adjcy
-
y
>
4
)
#endif
)
&&
(
infoPtr
->
uNumBands
>
1
))
{
...
...
@@ -3204,9 +3204,9 @@ REBAR_InsertBandW (REBAR_INFO *infoPtr, WPARAM wParam, LPARAM lParam)
}
/* post copy */
if
(
uIndex
<
infoPtr
->
uNumBands
-
1
)
{
if
(
uIndex
<
=
infoPtr
->
uNumBands
-
1
)
{
memcpy
(
&
infoPtr
->
bands
[
uIndex
+
1
],
&
oldBands
[
uIndex
],
(
infoPtr
->
uNumBands
-
uIndex
-
1
)
*
sizeof
(
REBAR_BAND
));
(
infoPtr
->
uNumBands
-
uIndex
)
*
sizeof
(
REBAR_BAND
));
}
Free
(
oldBands
);
...
...
@@ -3238,7 +3238,7 @@ REBAR_InsertBandW (REBAR_INFO *infoPtr, WPARAM wParam, LPARAM lParam)
REBAR_ValidateBand
(
infoPtr
,
lpBand
);
/* On insert of second band, revalidate band 1 to possible add gripper */
if
(
infoPtr
->
uNumBands
==
2
)
REBAR_ValidateBand
(
infoPtr
,
&
infoPtr
->
bands
[
0
]);
REBAR_ValidateBand
(
infoPtr
,
&
infoPtr
->
bands
[
uIndex
?
0
:
1
]);
REBAR_DumpBand
(
infoPtr
);
...
...
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