[comp.sources.x] v04i025: xgone, Patch2

argv@island.uu.net (Dan Heller) (06/13/89)

Submitted-by: Richard Johnson <ucbcad!topdog.Ucsb.EDU!raj>
Posting-number: Volume 4, Issue 25
Archive-name: xgone/patch2

This fixes yet another small bug in xgone dealing with misuse of a (char *).

Richard.

*** bk_patchlevel.h	Wed Jun  7 12:14:41 1989
--- patchlevel.h	Wed Jun  7 12:15:39 1989
***************
*** 1 ****
! #define PATCHLEVEL 1
--- 1 ----
! #define PATCHLEVEL 2
*** bk_xgone.c	Wed Jun  7 12:14:42 1989
--- xgone.c	Wed Jun  7 12:15:18 1989
***************
*** 24,30 ****
  #define control(a)	((a) - ('@'))	/* control characters */
  
  char	DspMsg[1024]="X Gone";	/* Default message to display */
! char	*Dsptime="Started: ";		/* Time command was started */
  int	fontheight;			/* height of one line of text */
  Pixmap	textpixmap;			/* pixmap to hold text */
  int	textwidth, textheight;		/* sizes of whole text area */
--- 24,30 ----
  #define control(a)	((a) - ('@'))	/* control characters */
  
  char	DspMsg[1024]="X Gone";	/* Default message to display */
! char	Dsptime[100]="Started: ";	/* Time command was started */
  int	fontheight;			/* height of one line of text */
  Pixmap	textpixmap;			/* pixmap to hold text */
  int	textwidth, textheight;		/* sizes of whole text area */