aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2019-02-12 22:58:35 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2019-02-12 22:58:35 +0100
commita9b1de384ae1ad30805e893af5cd6ea9b87c89da (patch)
treedb64e6838e99ce82c7c8c978ec2c93fde1492b90
parent43b0c2c3dd3e694cf674097d493ef6630efc5403 (diff)
improve xopenim error message
die() already prints a newline.
-rw-r--r--dmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenu.c b/dmenu.c
index ae56f4f..3bfd74d 100644
--- 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");
}
}