Commit bec403f6 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

Fixed a bug with combo boxes where only 1 items was being displayed.

parent a8175682
...@@ -1210,9 +1210,9 @@ static void CBDropDown( LPHEADCOMBO lphc ) ...@@ -1210,9 +1210,9 @@ static void CBDropDown( LPHEADCOMBO lphc )
if (nDroppedHeight < nIHeight) if (nDroppedHeight < nIHeight)
{ {
if (nItems < 5) if (nItems < 5)
nDroppedHeight = nHeight; nDroppedHeight = (nItems+1)*nIHeight;
else else
nDroppedHeight = 5*nIHeight; nDroppedHeight = 6*nIHeight;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment