foo
This commit is contained in:
parent
1f6af5e78f
commit
357558798c
3
dmenu.c
3
dmenu.c
@ -728,8 +728,7 @@ main(int argc, char *argv[]) {
|
|||||||
eprint("usage: dmenu [-i] [-b] [-fn <font>] [-nb <color>] [-nf <color>]\n"
|
eprint("usage: dmenu [-i] [-b] [-fn <font>] [-nb <color>] [-nf <color>]\n"
|
||||||
" [-p <prompt>] [-sb <color>] [-sf <color>] [-v]\n");
|
" [-p <prompt>] [-sb <color>] [-sf <color>] [-v]\n");
|
||||||
setlocale(LC_CTYPE, "");
|
setlocale(LC_CTYPE, "");
|
||||||
dpy = XOpenDisplay(0);
|
if(!(dpy = XOpenDisplay(0)))
|
||||||
if(!dpy)
|
|
||||||
eprint("dmenu: cannot open display\n");
|
eprint("dmenu: cannot open display\n");
|
||||||
screen = DefaultScreen(dpy);
|
screen = DefaultScreen(dpy);
|
||||||
root = RootWindow(dpy, screen);
|
root = RootWindow(dpy, screen);
|
||||||
|
Loading…
Reference in New Issue
Block a user