mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
if -> ifdef
This commit is contained in:
parent
c637a54048
commit
be72620432
2
calmwm.c
2
calmwm.c
@ -181,7 +181,7 @@ x_wmerrorhandler(Display *dpy, XErrorEvent *e)
|
|||||||
static int
|
static int
|
||||||
x_errorhandler(Display *dpy, XErrorEvent *e)
|
x_errorhandler(Display *dpy, XErrorEvent *e)
|
||||||
{
|
{
|
||||||
#if DEBUG
|
#ifdef DEBUG
|
||||||
char msg[80], number[80], req[80];
|
char msg[80], number[80], req[80];
|
||||||
|
|
||||||
XGetErrorText(X_Dpy, e->error_code, msg, sizeof(msg));
|
XGetErrorText(X_Dpy, e->error_code, msg, sizeof(msg));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user