Fixed typo introduced by shared code

master
Eric Pruitt 10 years ago committed by Hiltjo Posthuma
parent d6742ef8a6
commit bbf7b95dc9
  1. 2
      dmenu.c

@ -118,7 +118,7 @@ main(int argc, char *argv[]) {
if(!setlocale(LC_CTYPE, "") || !XSupportsLocale()) if(!setlocale(LC_CTYPE, "") || !XSupportsLocale())
fputs("warning: no locale support\n", stderr); fputs("warning: no locale support\n", stderr);
if(!(dpy = XOpenDisplay(NULL))) if(!(dpy = XOpenDisplay(NULL)))
die("dwm: cannot open display\n"); die("dmenu: cannot open display\n");
screen = DefaultScreen(dpy); screen = DefaultScreen(dpy);
root = RootWindow(dpy, screen); root = RootWindow(dpy, screen);
sw = DisplayWidth(dpy, screen); sw = DisplayWidth(dpy, screen);

Loading…
Cancel
Save