rem: int count = WMGetBagItemCount(lPtr->items);
add: int count = WMGetArrayItemCount(lPtr->items);
context: updateScroller(List *lPtr){    float knobProportion, floatValue, tmp;    int count = WMGetBagItemCount(lPtr->items);    if (lPtr->idleID) 	WMDeleteIdleHandler(lPtr->idleID);    lPtr->idleID = NULL;            paintList(lPtr);        if (count == 0 || count <= lPtr->fullFitLines)	WMSetScrollerParameters(lPtr->vScroller, 0, 1);    else {	tmp = lPtr->fullFitLines;	knobProportion = tmp/(float)count;	floatValue = (float)lPtr->topItem/(float)(count - lPtr->fullFitLines);	WMSetScrollerParameters(lPtr->vScroller, floatValue, knobProportion);    }}