changeset: 369:d575aec2a6be
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Mon Sep 13 14:22:02 2010 +0100
files: config.mk dmenu.c
description:
fixed linking bug (thanks Jacob Nixdorf) & iscntrl corner case
diff -r 5521e6f2571f -r d575aec2a6be config.mk
--- a/config.mk Sat Sep 11 19:48:10 2010 +0100
+++ b/config.mk Mon Sep 13 14:22:02 2010 +0100
@@ -16,7 +16,7 @@
# 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}
diff -r 5521e6f2571f -r d575aec2a6be dmenu.c
--- a/dmenu.c Sat Sep 11 19:48:10 2010 +0100
+++ b/dmenu.c Mon Sep 13 14:22:02 2010 +0100
@@ -230,7 +230,7 @@
}
switch(ksym) {
default:
- if(*buf)
+ if(!iscntrl(*buf))
insert(buf, strlen(buf));
break;
case XK_Delete:
Received on Mon Sep 13 2010 - 15:22:07 CEST
This archive was generated by hypermail 2.2.0 : Mon Sep 13 2010 - 15:24:04 CEST