improve xopenim error message
[dmenu.git] / dmenu.c
diff --git a/dmenu.c b/dmenu.c
index ae56f4f..3bfd74d 100644 (file)
--- 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");
                }
        }