user32: Make sure the scroll button arrows are really at least 3 pixels.

oldstable
Alexandre Julliard 2012-11-20 19:46:46 +01:00
parent c3f0abfa40
commit 4428049a7a
1 changed files with 1 additions and 2 deletions

View File

@ -1001,8 +1001,7 @@ static BOOL UITOOLS95_DrawFrameScroll(HDC dc, LPRECT r, UINT uFlags)
* with the updown control.
* Making sure that the arrow is as least 3 pixels wide (or high).
*/
if (tri == 0)
tri = 1;
tri = max( 2, tri );
switch(uFlags & 0xff)
{