summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2006-09-30 09:18:21 +0000
committerFrederic Culot <calcurse@culot.org>2006-09-30 09:18:21 +0000
commitbdd31073bc8fcc16f38f1b3be4a883271f57f86e (patch)
treef3db0c4ff1a38f5f3b71d240e5545762307052b6 /src
parentab83161d9ca9cc1086a673e947ebce8d1e1fbb28 (diff)
downloadcalcurse-bdd31073bc8fcc16f38f1b3be4a883271f57f86e.zip
CTRL-J and ENTER are equivalent so can't suppress one of those keybindings
Diffstat (limited to 'src')
-rwxr-xr-xsrc/calcurse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index ca847de..cff12da 100755
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -1,4 +1,4 @@
-/* $calcurse: calcurse.c,v 1.21 2006/09/18 08:53:02 culot Exp $ */
+/* $calcurse: calcurse.c,v 1.22 2006/09/30 09:18:21 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -216,7 +216,7 @@ int main(int argc, char **argv)
/* Get user input. */
ch = wgetch(swin);
- if (ch != 10) switch (ch) {
+ switch (ch) {
case 9: /* The TAB key was hit. */
reset_status_page();