Fixed typo.

This commit is contained in:
Juergen Schmied 1999-04-21 14:26:59 +00:00 committed by Alexandre Julliard
parent 964e0460f4
commit ea7b826cd6
1 changed files with 2 additions and 2 deletions

View File

@ -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);