Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!island!argv From: argv@island.uu.net (Dan Heller) Newsgroups: comp.sources.x Subject: v04i025: xgone, Patch2 Message-ID: <820@island.uu.net> Date: 12 Jun 89 18:58:04 GMT Organization: Island Graphics, Marin County, California Lines: 34 Approved: island!argv@sun.com Submitted-by: Richard Johnson 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 */