comctl32: Fix typo in TOOLBAR_SetButtonSize code.

This commit is contained in:
Igor Tarasov 2009-04-19 17:49:18 +05:00 committed by Alexandre Julliard
parent dc0beeb976
commit 74baffb254
1 changed files with 1 additions and 1 deletions

View File

@ -4531,7 +4531,7 @@ TOOLBAR_SetButtonSize (HWND hwnd, LPARAM lParam)
* 22 high. Demonstarted in ControlSpy Toolbar. GLA 3/02
*/
if (cx == 0) cx = 24;
if (cy == 0) cx = 22;
if (cy == 0) cy = 22;
cx = max(cx, infoPtr->szPadding.cx + infoPtr->nBitmapWidth);
cy = max(cy, infoPtr->szPadding.cy + infoPtr->nBitmapHeight);