aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-xlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window-xlib.c')
-rw-r--r--src/window-xlib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/window-xlib.c b/src/window-xlib.c
index 2c36e44..cc9ec7e 100644
--- a/src/window-xlib.c
+++ b/src/window-xlib.c
@@ -1,5 +1,4 @@
#include <cairo-xlib.h>
-#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <X11/cursorfont.h>
@@ -167,7 +166,7 @@ void runes_window_backend_create_window(RunesTerm *t, int argc, char *argv[])
NULL
);
if (w->ic == NULL) {
- fprintf(stderr, "failed\n");
+ runes_warn("failed\n");
exit(1);
}