fixed linking bug (thanks Jacob Nixdorf) & iscntrl corner case 610a0a8d
Connor Lane Smith · 2010-09-13 14:22 2 file(s) · +2 −2
config.mk +1 −1
16 16
17 17
# includes and libs
18 18
INCS = -I${X11INC}
19 -
LIBS = -L${X11LIB} -ldraw -lX11 ${XINERAMALIBS}
19 +
LIBS = -L${X11LIB} -ldc -lX11 ${XINERAMALIBS}
20 20
21 21
# flags
22 22
CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
dmenu.c +1 −1
230 230
	}
231 231
	switch(ksym) {
232 232
	default:
233 -
		if(*buf)
233 +
		if(!iscntrl(*buf))
234 234
			insert(buf, strlen(buf));
235 235
		break;
236 236
	case XK_Delete: