dont let this run past the buffer edge
This commit is contained in:
parent
fcfda5345e
commit
dec0760d87
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue