diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-05-02 04:34:55 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-05-02 04:37:17 -0400 |
commit | 252dcc89a68b81e1fe7f759d33e8a49fab155c7c (patch) | |
tree | 1ac7bc4dcdb0f55a98e4a077147d10a057878a7e /src/window-xlib.c | |
parent | 1b5814ba53290e513085fd7e19e7545da613ee53 (diff) | |
download | runes-252dcc89a68b81e1fe7f759d33e8a49fab155c7c.tar.gz runes-252dcc89a68b81e1fe7f759d33e8a49fab155c7c.zip |
clean up runes_warn/runes_die handling
Diffstat (limited to 'src/window-xlib.c')
-rw-r--r-- | src/window-xlib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/window-xlib.c b/src/window-xlib.c index dfa15b9..692029f 100644 --- a/src/window-xlib.c +++ b/src/window-xlib.c @@ -179,8 +179,7 @@ void runes_window_backend_create_window(RunesTerm *t, int argc, char *argv[]) NULL ); if (w->ic == NULL) { - runes_warn("failed\n"); - exit(1); + runes_die("failed"); } XInternAtoms(w->dpy, atom_names, RUNES_NUM_ATOMS, False, w->atoms); |