Permalink
Browse files

Merge branch 'shiftreturnempty'

  • Loading branch information...
2 parents fd7a030 + 6dd1b3f commit 7965a4925a36d9f88e015fc745f989be7883f2b1 @scy committed Oct 6, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 fmenu.c
View
@@ -507,7 +507,7 @@ kpress(XKeyEvent * e) {
calcoffsets();
break;
case XK_Return:
- if((e->state & ShiftMask) && *text)
+ if(e->state & ShiftMask)
fprintf(stdout, "%s", text);
else if(sel)
fprintf(stdout, "%s", sel->text);

0 comments on commit 7965a49

Please sign in to comment.