aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 3ea9d89..c10dfaa 100644
--- a/main.c
+++ b/main.c
@@ -200,7 +200,7 @@ kpress(XKeyEvent * e) {
}
break;
case XK_End:
- if(!sel)
+ if(!item)
return;
while(next) {
sel = curr = next;