Browse Source

improve xopenim error message

die() already prints a newline.
master
Hiltjo Posthuma 5 years ago
parent
commit
a9b1de384a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dmenu.c

+ 1
- 1
dmenu.c View File

@ -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…
Cancel
Save