dmenu

my fork of dmenu
Index Commits Files Refs README LICENSE
commit a9b1de384ae1ad30805e893af5cd6ea9b87c89da
parent 43b0c2c3dd3e694cf674097d493ef6630efc5403
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Tue, 12 Feb 2019 22:58:35 +0100

improve xopenim error message

die() already prints a newline.

Diffstat:
Mdmenu.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dmenu.c b/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");
         }
     }