rem: lPtr->itemCount++;
context: WMInsertListItem(WMList *lPtr, int row, char *text){    WMListItem *item;    WMListItem *tmp = lPtr->items;    CHECK_CLASS(lPtr, WC_List);    item = wmalloc(sizeof(WMListItem));    memset(item, 0, sizeof(WMListItem));    item->text = wstrdup(text);    if (lPtr->selectedItem >= row && lPtr->selectedItem >= 0	&& row >= 0)	lPtr->selectedItem++;    if (lPtr->items==NULL) {	lPtr->items = item;    } else if (row == 0) {	item->nextPtr = lPtr->items;	lPtr->items = item;    } else if (row < 0) {	while (tmp->nextPtr)	    tmp = tmp->nextPtr;	tmp->nextPtr = item;	row = lPtr->itemCount;    } else {	while (--row > 0)	    tmp = tmp->nextPtr;	item->nextPtr = tmp->nextPtr;	tmp->nextPtr = item;    }    if (row < lPtr->fullFitLines+lPtr->flags.dontFitAll-lPtr->topItem) {	paintList(lPtr);    }    lPtr->itemCount++;    /* update the scroller when idle, so that we don't waste time     * updating it when another item is going to be added later */    if (!lPtr->idleID) {	lPtr->idleID = WMAddIdleHandler((WMCallback*)updateScroller, lPtr);    }     return item;}