From 8e3d6d75d22b75ee95c5c15cc8c7d340dc2098bb Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Tue, 12 Feb 2019 22:58:35 +0100 Subject: [PATCH] improve xopenim error message die() already prints a newline. --- dmenubar/dmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmenubar/dmenu.c b/dmenubar/dmenu.c index ae56f4f..3bfd74d 100644 --- a/dmenubar/dmenu.c +++ b/dmenubar/dmenu.c @@ -671,7 +671,7 @@ setup(void) if ((xim = XOpenIM(dpy, NULL, NULL, NULL)) == NULL) { XSetLocaleModifiers("@im="); if ((xim = XOpenIM(dpy, NULL, NULL, NULL)) == NULL) - die("XOpenIM failed. Could not open input device.\n"); + die("XOpenIM failed: could not open input device"); } }