[comp.windows.x] V11R1 fix for lib/oldXtk/Command.c

RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) (10/03/87)

Jim Gettys reported this one earlier, but just to make
it official, here is the rcsdiff from our sources:

*** /tmp/,RCSt1020717	Sat Oct  3 13:40:16 1987
--- Command.c	Fri Sep 25 09:18:41 1987
***************
*** 1,4 ****
! /* $Header: Command.c,v 1.3 87/09/12 12:42:17 swick Exp $ */
  #ifndef lint
  static char *sccsid = "@(#)Command.c	1.13	2/25/87";
  #endif lint
--- 1,4 ----
! /* $Header: Command.c,v 1.4 87/09/25 09:21:54 swick Exp $ */
  #ifndef lint
  static char *sccsid = "@(#)Command.c	1.13	2/25/87";
  #endif lint
***************
*** 246,253 ****
  	gcv.foreground = 1;
  	gcv.background = 0;
    	gray = XCreatePixmap(data->dpy, data->mywin,
! 			     gray_width, gray_height, 
! 			     DefaultDepth(data->dpy, DefaultScreen(data->dpy)));
  
  /*
      Instead of calling the GCManager, since it doesn't handle depths,
--- 246,252 ----
  	gcv.foreground = 1;
  	gcv.background = 0;
    	gray = XCreatePixmap(data->dpy, data->mywin,
! 			     gray_width, gray_height, 1);
  
  /*
      Instead of calling the GCManager, since it doesn't handle depths,