[PATCH] Allow compile with -DDEBUG



---
 src/display.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/display.c b/src/display.c
index d1378b0..c35ba6d 100644
--- a/src/display.c
+++ b/src/display.c
@@ -70,10 +70,6 @@ error_handler (Display *dpy, XErrorEvent *ev)
 {
     Lisp_Window *w;
 
-#ifdef DEBUG
-    print_error (ev);
-#endif
-
     if (ev->resourceid != 0
 	&& (ev->error_code == BadWindow || ev->error_code == BadDrawable))
     {
-- 
1.7.0.4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]