comctl32: Remove unused scrollInfo from LISTVIEW_MouseWheel.

This commit is contained in:
Gerald Pfeifer 2010-04-19 14:35:06 +02:00 committed by Alexandre Julliard
parent c31c4454aa
commit aa745feddc

View File

@ -9493,16 +9493,12 @@ static LRESULT LISTVIEW_MouseWheel(LISTVIEW_INFO *infoPtr, INT wheelDelta)
{
INT gcWheelDelta = 0;
INT pulScrollLines = 3;
SCROLLINFO scrollInfo;
TRACE("(wheelDelta=%d)\n", wheelDelta);
SystemParametersInfoW(SPI_GETWHEELSCROLLLINES,0, &pulScrollLines, 0);
gcWheelDelta -= wheelDelta;
scrollInfo.cbSize = sizeof(SCROLLINFO);
scrollInfo.fMask = SIF_POS;
switch(infoPtr->uView)
{
case LV_VIEW_ICON: