Commit 9e3772f6 authored by Adam Gundy's avatar Adam Gundy Committed by Alexandre Julliard

Zero initialize the reserved bytes in the toolbar details returned by

TOOLBAR_GetButton().
parent 5eb88a08
......@@ -3026,6 +3026,8 @@ TOOLBAR_GetButton (HWND hwnd, WPARAM wParam, LPARAM lParam)
lpTbb->idCommand = btnPtr->idCommand;
lpTbb->fsState = btnPtr->fsState;
lpTbb->fsStyle = btnPtr->fsStyle;
lpTbb->bReserved[0] = 0;
lpTbb->bReserved[1] = 0;
lpTbb->dwData = btnPtr->dwData;
lpTbb->iString = btnPtr->iString;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment