Module: wine Branch: master Commit: 74baffb2542813d73340cf070e9ef82b4ab74823 URL: http://source.winehq.org/git/wine.git/?a=commit;h=74baffb2542813d73340cf070e...
Author: Igor Tarasov tarasov.igor@gmail.com Date: Sun Apr 19 17:49:18 2009 +0500
comctl32: Fix typo in TOOLBAR_SetButtonSize code.
---
dlls/comctl32/toolbar.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c index faac97c..cf54df7 100644 --- a/dlls/comctl32/toolbar.c +++ b/dlls/comctl32/toolbar.c @@ -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);