diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2015-04-19 17:36:18 +0200 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2015-04-19 17:36:18 +0200 |
commit | 76d3b0bb95e3e52f9763f8f5c371c1fbeb9a2971 (patch) | |
tree | c3ec69e4f203058af40ee89c129603b8a8b1c768 | |
parent | 87ef23296b1c83f5da762da6e3177fc9f41ae281 (diff) |
minor style fix and new var for fonts
-rw-r--r-- | sent.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -125,6 +125,7 @@ static XWindow xw; static struct DC dc; static Drw *d = NULL; static Scm *sc; +static Fnt *fonts[NUMFONTS]; static int running = 1; static void (*handler[LASTEvent])(XEvent *) = { @@ -606,7 +607,7 @@ void xinit() xw.netwmname = XInternAtom(xw.dpy, "_NET_WM_NAME", False); XSetWMProtocols(xw.dpy, xw.win, &xw.wmdeletewin, 1); - if(!(d = drw_create(xw.dpy, xw.scr, xw.win, xw.w, xw.h))) + if (!(d = drw_create(xw.dpy, xw.scr, xw.win, xw.w, xw.h))) die("Can't create drawing context."); sc = drw_scm_create(d, "#000000", "#FFFFFF"); drw_setscheme(d, sc); |