user32: Make sure the scroll button arrows are really at least 3 pixels.
This commit is contained in:
parent
c3f0abfa40
commit
4428049a7a
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue