~jb55/cmdtree

3689e9073f8f47f8dd14a8e3c6e20bb213e5bf2a — William Casarin 1 year, 10 months ago 46b673d
fix clang build errors
2 files changed, 3 insertions(+), 3 deletions(-)

M Makefile
M drw.c
M Makefile => Makefile +2 -2
@@ 1,6 1,6 @@

CFLAGS=-O2 -g -lX11 -Wall -Werror -I. -Wno-unused-function
LDFLAGS=-lXft -lfontconfig
CFLAGS=-O2 -g -Wall -Werror -I. -Wno-unused-function
LDFLAGS=-lXft -lfontconfig -lX11 
PREFIX ?= /usr/local

BIN=cmdtree

M drw.c => drw.c +1 -1
@@ 179,7 179,7 @@ drw_setscheme(Drw *drw, Clr *fg, Clr *bg)
void
drw_rect(Drw *drw, int x, int y, unsigned int w, unsigned int h, int filled, int invert)
{
	if (!drw || !drw->scheme)
	if (!drw)
		return;
	XSetForeground(drw->dpy, drw->gc,
		       invert ? drw->scheme[ColBg]->pixel