From ea7b826cd6ad6ce06764e23a25a74065cf4b870d Mon Sep 17 00:00:00 2001 From: Juergen Schmied Date: Wed, 21 Apr 1999 14:26:59 +0000 Subject: [PATCH] Fixed typo. --- dlls/comctl32/toolbar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c index 5e772b5b397..590d9fd64f3 100644 --- a/dlls/comctl32/toolbar.c +++ b/dlls/comctl32/toolbar.c @@ -1224,7 +1224,7 @@ TOOLBAR_GetButtonInfoA (HWND hwnd, WPARAM wParam, LPARAM lParam) return -1; if (lpTbInfo == NULL) return -1; - if (lpTbInfo->cbSize < sizeof(LPTBBUTTONINFOA)) + if (lpTbInfo->cbSize < sizeof(TBBUTTONINFOA)) return -1; nIndex = TOOLBAR_GetButtonIndex (infoPtr, (INT)wParam); @@ -1815,7 +1815,7 @@ TOOLBAR_SetButtonInfoA (HWND hwnd, WPARAM wParam, LPARAM lParam) if (lptbbi == NULL) return FALSE; - if (lptbbi->cbSize < sizeof(LPTBBUTTONINFOA)) + if (lptbbi->cbSize < sizeof(TBBUTTONINFOA)) return FALSE; nIndex = TOOLBAR_GetButtonIndex (infoPtr, (INT)wParam);