rem: int wasMapped;
add: int wasMapped, count; T_SplitViewSubView *p;
context: WMAddSplitViewSubview(WMSplitView *sPtr, WMView *subview){    int wasMapped;    assert(!sPtr->flags.splitViewIsFull);        wasMapped = subview->flags.mapped;    if (wasMapped) {	W_UnmapView(subview);    }    W_ReparentView(subview, sPtr->view, 0, 0);#if 0    if (sPtr->resizeSubviewsProc && subviewCount(sPtr)>1) {	(*sPtr->resizeSubviewsProc)(sPtr, sPtr->view->size.width, 				    sPtr->view->size.height);	/* check if there is free space for the new subview and	 * put the subview in it */    } else {    }#endif    WMAdjustSplitViewSubviews(sPtr);        if (subviewCount(sPtr)==2)	sPtr->flags.splitViewIsFull = 1;        if (wasMapped) {	W_MapView(subview);    }}