[comp.windows.x] Another bug in SeeTeX 2.14

mike@ists.ists.ca (Mike Clarkson) (02/26/90)

/usr2/local/X.V11R4/contrib/clients/xtex/Texx

This bombs with a wrong number of arguments error.
This patch is just my blind guess.
(SeeTex 2.14, SunOS 3.5, X11R4 PL 2, GCC 1.35)

Mike.

*** texx.c.dst	Thu Dec 14 14:29:50 1989
--- texx.c	Sat Feb 24 23:59:46 1990
***************
*** 669,678 ****
  
  	    for (i = 0; i < Leaves; i++ ) {
  		if (pasteUpPixmap[SHRINK_NORMAL][i] != 0) {
! 		    XFreePixmap(DISP, win, pasteUpPixmap[SHRINK_NORMAL][i]);
  		}
  		if (pasteUpPixmap[SHRINK_LARGE][i] != 0) {
! 		    XFreePixmap(DISP, win, pasteUpPixmap[SHRINK_LARGE][i]);
  		}
  	    }
  
--- 669,678 ----
  
  	    for (i = 0; i < Leaves; i++ ) {
  		if (pasteUpPixmap[SHRINK_NORMAL][i] != 0) {
! 		    XFreePixmap(DISP, pasteUpPixmap[SHRINK_NORMAL][i]);
  		}
  		if (pasteUpPixmap[SHRINK_LARGE][i] != 0) {
! 		    XFreePixmap(DISP, pasteUpPixmap[SHRINK_LARGE][i]);
  		}
  	    }
  
-- 
Mike Clarkson					mike@ists.ists.ca
Institute for Space and Terrestrial Science	uunet!attcan!ists!mike
York University, North York, Ontario,		FORTRAN - just say no. 
CANADA M3J 1P3					+1 (416) 736-5611