all repos — dmenu @ 3f244b1d52d5409776467704ca95d561cdab78e9

my build of dmenu

minor fix
Anselm R Garbe garbeam@gmail.com
Thu, 19 Jun 2008 09:18:17 +0100
commit

3f244b1d52d5409776467704ca95d561cdab78e9

parent

a6945d509456e64ff0b011c691f9e186240685b6

2 files changed, 3 insertions(+), 3 deletions(-)

jump to
M config.mkconfig.mk

@@ -1,5 +1,5 @@

# dmenu version -VERSION = 3.7 +VERSION = 3.8 # Customize below to fit your system
M dmenu.cdmenu.c

@@ -477,11 +477,11 @@ sel = curr = prev;

calcoffsets(); break; case XK_Return: - if((e->state & ShiftMask) && text) + if((e->state & ShiftMask) && *text) fprintf(stdout, "%s", text); else if(sel) fprintf(stdout, "%s", sel->text); - else if(text) + else if(*text) fprintf(stdout, "%s", text); fflush(stdout); running = False;