*** Xew/RasterGIF.c.orig	Mon Aug 21 11:20:28 1995
--- Xew/RasterGIF.c	Fri Aug 16 16:14:06 1996
***************
*** 110,125 ****
  XeRawImage *raw;
  byte Index;
      {
- 	static byte *ptr = NULL;
- 	static int   oldYC = -1;
- 	
- 	if (oldYC != YC) 
- 	    {
- 		ptr = raw->data + YC * raw->width; 
- 		oldYC = YC;
- 	    }
  	if (YC < raw->height)
! 		*ptr++ = Index;
  	/*
  	** Update the X-coordinate, and if it overflows,
  	** update the Y-coordinate
--- 110,117 ----
  XeRawImage *raw;
  byte Index;
      {
  	if (YC < raw->height)
! 		raw->data[XC + YC * raw->bytes_per_line] = Index;
  	/*
  	** Update the X-coordinate, and if it overflows,
  	** update the Y-coordinate
