dont let this run past the buffer edge

This commit is contained in:
Dana Jansens 2003-02-03 01:46:11 +00:00
parent fcfda5345e
commit dec0760d87

View file

@ -58,7 +58,7 @@ static int xerrorHandler(::Display *d, XErrorEvent *e)
//if (e->error_code != BadWindow)
{
XGetErrorText(d, e->error_code, errtxt, 128);
XGetErrorText(d, e->error_code, errtxt, 127);
printf("X Error: %s\n", errtxt);
if (e->error_code != BadWindow)
abort();