diff options
author | Connor Lane Smith <cls@lubutu.com> | 2010-09-13 14:22:02 +0100 |
---|---|---|
committer | Connor Lane Smith <cls@lubutu.com> | 2010-09-13 14:22:02 +0100 |
commit | 610a0a8d126b5caa7fec60632c999ca326ca2eff (patch) | |
tree | 437997dd4bc4fa8be961b031e7db25a8f18e11ba | |
parent | f0818217b3d2d0e527f11a5708badf6ddc72e99d (diff) |
fixed linking bug (thanks Jacob Nixdorf) & iscntrl corner case
-rw-r--r-- | config.mk | 2 | ||||
-rw-r--r-- | dmenu.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -16,7 +16,7 @@ XINERAMAFLAGS = -DXINERAMA # includes and libs INCS = -I${X11INC} -LIBS = -L${X11LIB} -ldraw -lX11 ${XINERAMALIBS} +LIBS = -L${X11LIB} -ldc -lX11 ${XINERAMALIBS} # flags CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} @@ -230,7 +230,7 @@ keypress(XKeyEvent *ev) { } switch(ksym) { default: - if(*buf) + if(!iscntrl(*buf)) insert(buf, strlen(buf)); break; case XK_Delete: |