Igor Tarasov : comctl32: Fix typo in TOOLBAR_SetButtonSize code.
Alexandre Julliard
julliard at winehq.org
Tue Apr 21 11:45:45 CDT 2009
Module: wine
Branch: master
Commit: 74baffb2542813d73340cf070e9ef82b4ab74823
URL: http://source.winehq.org/git/wine.git/?a=commit;h=74baffb2542813d73340cf070e9ef82b4ab74823
Author: Igor Tarasov <tarasov.igor at 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);
More information about the wine-cvs
mailing list