comparison src/xmu.c @ 380:8626e4521993 r21-2-5

Import from CVS: tag r21-2-5
author cvs
date Mon, 13 Aug 2007 11:07:10 +0200
parents c5d627a313b1
children 74fd4e045ea6
comparison
equal deleted inserted replaced
379:76b7d63099ad 380:8626e4521993
156 return -1; 156 return -1;
157 } 157 }
158 158
159 159
160 /* 160 /*
161 * Based on an optimized version provided by Jim Becker, Auguest 5, 1988. 161 * Based on an optimized version provided by Jim Becker, August 5, 1988.
162 */ 162 */
163 163
164 164
165 #define MAX_SIZE 255 165 #define MAX_SIZE 255
166 166
386 return status; 386 return status;
387 } 387 }
388 388
389 /* 389 /*
390 * XmuPrintDefaultErrorMessage - print a nice error that looks like the usual 390 * XmuPrintDefaultErrorMessage - print a nice error that looks like the usual
391 * message. Returns 1 if the caller should consider exitting else 0. 391 * message. Return 1 if the caller should consider exiting, else 0.
392 */ 392 */
393 int XmuPrintDefaultErrorMessage (Display *dpy, XErrorEvent *event, FILE *fp) 393 int XmuPrintDefaultErrorMessage (Display *dpy, XErrorEvent *event, FILE *fp)
394 { 394 {
395 char buffer[BUFSIZ]; 395 char buffer[BUFSIZ];
396 char mesg[BUFSIZ]; 396 char mesg[BUFSIZ];