minor style fix and new var for fonts
authorMarkus Teich <markus.teich@stusta.mhn.de>
Sun, 19 Apr 2015 15:36:18 +0000 (17:36 +0200)
committerMarkus Teich <markus.teich@stusta.mhn.de>
Sun, 19 Apr 2015 15:36:18 +0000 (17:36 +0200)
sent.c

diff --git a/sent.c b/sent.c
index 2864eca2442d895b7a820936dd2d43971ca5973c..7bc8f61d8303ce0a3499632990a78aaefc6da9a1 100644 (file)
--- a/sent.c
+++ b/sent.c
@@ -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);