improve xopenim error message
die() already prints a newline.
This commit is contained in:
parent
a30dbb750c
commit
f3e5ba3a97
2
dmenu.c
2
dmenu.c
@ -864,7 +864,7 @@ setup(void)
|
|||||||
if ((xim = XOpenIM(dpy, NULL, NULL, NULL)) == NULL) {
|
if ((xim = XOpenIM(dpy, NULL, NULL, NULL)) == NULL) {
|
||||||
XSetLocaleModifiers("@im=");
|
XSetLocaleModifiers("@im=");
|
||||||
if ((xim = XOpenIM(dpy, NULL, NULL, NULL)) == NULL)
|
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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user