Commit 4428049a authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent c3f0abfa
......@@ -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)
{
......
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