rem: ofs+2+(int)knobP+((int)knobL-scr->scrollerDimple->width-1)/2,
add: ofs+(int)knobP+((int)knobL-scr->scrollerDimple->width-1)/2,
context: paintScroller(Scroller *sPtr){    WMView *view = sPtr->view;    WMScreen *scr = view->screen;#ifdef DOUBLE_BUFFER    Pixmap d;#else    Drawable d = view->window;#endif    int length, ofs;    float knobP, knobL;        #ifdef DOUBLE_BUFFER    d = XCreatePixmap(scr->display, view->window, view->size.width, 		      view->size.height, scr->depth);    XFillRectangle(scr->display, d, WMColorGC(scr->gray), 0, 0, 		   view->size.width, view->size.height);#endif        XDrawRectangle(scr->display, d, WMColorGC(scr->black), 0, 0,		   view->size.width-1, view->size.height-1);#ifndef DOUBLE_BUFFER    XDrawRectangle(scr->display, d, WMColorGC(scr->gray), 1, 1,		   view->size.width-3, view->size.height-3);#endif    if (sPtr->flags.horizontal)	length = view->size.width - 4;    else	length = view->size.height - 4;        if (sPtr->flags.documentFullyVisible) {	XFillRectangle(scr->display, d, scr->stippleGC, 2, 2,		       view->size.width-4, view->size.height-4);    } else {	if (sPtr->flags.arrowsPosition==WSAMaxEnd) {	    ofs = 0;	    length -= (SCROLLER_WIDTH - 4 + 1)*2;	} else if (sPtr->flags.arrowsPosition==WSAMinEnd) {		    ofs = (SCROLLER_WIDTH - 4 + 1)*2;	    length -= (SCROLLER_WIDTH - 4 + 1)*2;	} else {	    ofs = 0;	}		knobL = (float)knobLength(sPtr);	knobP = sPtr->floatValue * ((float)length - knobL);		if (sPtr->flags.horizontal) {	    /* before */	    XFillRectangle(scr->display, d, scr->stippleGC,			   ofs+2, 2, (int)knobP, view->size.height-4);	    	    /* knob */#ifndef DOUBLE_BUFFER	    XFillRectangle(scr->display, d, scr->lightGC,			   ofs+2+(int)knobP+2, 2+2, (int)knobL-4,			   view->size.height-4-4);#endif	    W_DrawRelief(scr, d, ofs+2+(int)knobP, 2, (int)knobL,			 view->size.height-4, WRRaised);	    	    XCopyArea(scr->display, scr->scrollerDimple->pixmap, d, 		      scr->copyGC, 0, 0,		      scr->scrollerDimple->width, scr->scrollerDimple->height,		      ofs+2+(int)knobP+((int)knobL-scr->scrollerDimple->width-1)/2,		      (view->size.height-scr->scrollerDimple->height-1)/2);	    	    /* after */	    if ((int)(knobP+knobL) < length)		XFillRectangle(scr->display, d, scr->stippleGC,			       ofs+2+(int)(knobP+knobL), 2,			       length-(int)(knobP+knobL),			       view->size.height-4);	} else {	    /* before */	    if (knobP>0.0)		XFillRectangle(scr->display, d, scr->stippleGC,			       2, ofs+2, view->size.width-4, (int)knobP);	    	    /* knob */#ifndef DOUBLE_BUFFER	    XFillRectangle(scr->display, d, scr->lightGC,			   2+2, ofs+2+(int)knobP+2,			   view->size.width-4-4, (int)knobL-4);#endif	    XCopyArea(scr->display, scr->scrollerDimple->pixmap, d, 		      scr->copyGC, 0, 0,		      scr->scrollerDimple->width, scr->scrollerDimple->height,		      (view->size.width-scr->scrollerDimple->width-1)/2,		      ofs+2+(int)knobP+((int)knobL-scr->scrollerDimple->height-1)/2);	    W_DrawRelief(scr, d, 2, ofs+2+(int)knobP,			 view->size.width-4, (int)knobL, WRRaised);	    /* after */	    if ((int)(knobP+knobL) < length)		XFillRectangle(scr->display, d, scr->stippleGC,			       2, ofs+2+(int)(knobP+knobL),			       view->size.width-4, 			       length-(int)(knobP+knobL));	}	if (sPtr->flags.arrowsPosition != WSANone) {	    paintArrow(sPtr, d, 0);	    paintArrow(sPtr, d, 1);	}    }#ifdef DOUBLE_BUFFER    XCopyArea(scr->display, d, view->window, scr->copyGC, 0, 0, 	      view->size.width, view->size.height, 0, 0);    XFreePixmap(scr->display, d);#endif}