mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-16 05:07:36 +00:00
Fixed a bug with combo boxes where only 1 items was being displayed.
This commit is contained in:
parent
a817568231
commit
bec403f6df
|
@ -1210,9 +1210,9 @@ static void CBDropDown( LPHEADCOMBO lphc )
|
|||
if (nDroppedHeight < nIHeight)
|
||||
{
|
||||
if (nItems < 5)
|
||||
nDroppedHeight = nHeight;
|
||||
nDroppedHeight = (nItems+1)*nIHeight;
|
||||
else
|
||||
nDroppedHeight = 5*nIHeight;
|
||||
nDroppedHeight = 6*nIHeight;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue