[hackers] [dmenu] improve xopenim error message || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Tue, 12 Feb 2019 22:59:40 +0100 (CET)

commit a9b1de384ae1ad30805e893af5cd6ea9b87c89da
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
AuthorDate: Tue Feb 12 22:58:35 2019 +0100
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Tue Feb 12 22:58:35 2019 +0100

    improve xopenim error message
    
    die() already prints a newline.

diff --git a/dmenu.c b/dmenu.c
index ae56f4f..3bfd74d 100644
--- a/dmenu.c
+++ b/dmenu.c
_AT_@ -671,7 +671,7 @@ setup(void)
                 if ((xim = XOpenIM(dpy, NULL, NULL, NULL)) == NULL) {
                         XSetLocaleModifiers("_AT_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");
                 }
         }
 
Received on Tue Feb 12 2019 - 22:59:40 CET

This archive was generated by hypermail 2.3.0 : Tue Feb 12 2019 - 23:00:24 CET