Commit 7d0bde36 authored by Rémi Duraffort's avatar Rémi Duraffort

qt4: fix buffer overflow.

parent 40f4dab0
......@@ -560,7 +560,7 @@ void MainInterface::createTaskBarButtons()
// image list and also provide tooltips.
DWORD dwMask = THB_BITMAP | THB_FLAGS;
THUMBBUTTON thbButtons[2];
THUMBBUTTON thbButtons[3];
thbButtons[0].dwMask = dwMask;
thbButtons[0].iId = 0;
thbButtons[0].iBitmap = 0;
......
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