improve xopenim error message
die() already prints a newline.
This commit is contained in:
parent
43b0c2c3dd
commit
a9b1de384a
2
dmenu.c
2
dmenu.c
|
@ -671,7 +671,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 a new issue