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
870d37ff
Commit
870d37ff
authored
Mar 26, 2006
by
Thomas Weidenmueller
Committed by
Alexandre Julliard
Mar 28, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Rebar size fix.
Rebars without any bands should have a height/width of 0.
parent
5072fd44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rebar.c
dlls/comctl32/rebar.c
+2
-2
No files found.
dlls/comctl32/rebar.c
View file @
870d37ff
...
...
@@ -1920,7 +1920,7 @@ REBAR_Layout (REBAR_INFO *infoPtr, LPRECT lpRect, BOOL notify, BOOL resetclient)
y
=
clientcy
;
}
if
(
infoPtr
->
dwStyle
&
CCS_VERT
)
{
if
(
x
<
REBAR_MINSIZE
)
if
(
infoPtr
->
uNumBands
!=
0
&&
x
<
REBAR_MINSIZE
)
x
=
REBAR_MINSIZE
;
infoPtr
->
calcSize
.
cx
=
x
;
infoPtr
->
calcSize
.
cy
=
clientcy
;
...
...
@@ -1929,7 +1929,7 @@ REBAR_Layout (REBAR_INFO *infoPtr, LPRECT lpRect, BOOL notify, BOOL resetclient)
if
(
notify
&&
(
x
!=
origheight
))
infoPtr
->
fStatus
|=
NTF_HGHTCHG
;
}
else
{
if
(
y
<
REBAR_MINSIZE
)
if
(
infoPtr
->
uNumBands
!=
0
&&
y
<
REBAR_MINSIZE
)
y
=
REBAR_MINSIZE
;
infoPtr
->
calcSize
.
cx
=
clientcx
;
infoPtr
->
calcSize
.
cy
=
y
;
...
...
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