aboutsummaryrefslogtreecommitdiffstats
path: root/src/help.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-06-12 22:42:28 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2012-06-13 00:12:27 +0200
commit42c486d30d8e6f82d27651e19029e332af86cba3 (patch)
treec02b65cdda719ca0f1f30a85696737071c2b798c /src/help.c
parent844d35e851b5ef51bc8c0822dbd699b619ddd194 (diff)
downloadcalcurse-42c486d30d8e6f82d27651e19029e332af86cba3.tar.gz
calcurse-42c486d30d8e6f82d27651e19029e332af86cba3.zip
Rename displacement enumeration elements
* Rename "LEFT" to "DAY_PREV", "RIGHT" to "DAY_NEXT", "UP" to "WEEK_PREV" and "DOWN" to "WEEK_NEXT" to reflect the semantics of these operations. Remove the unneeded "MOVES" element. * Reorder code to improve consistency. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/help.c')
-rw-r--r--src/help.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/help.c b/src/help.c
index 69bb79d..2cae3cc 100644
--- a/src/help.c
+++ b/src/help.c
@@ -116,10 +116,10 @@ help_write_pad(struct window *win, char *title, char *text, enum key action)
case KEY_GENERIC_REDRAW:
case KEY_GENERIC_ADD_APPT:
case KEY_GENERIC_ADD_TODO:
- case KEY_GENERIC_NEXT_DAY:
case KEY_GENERIC_PREV_DAY:
- case KEY_GENERIC_NEXT_WEEK:
+ case KEY_GENERIC_NEXT_DAY:
case KEY_GENERIC_PREV_WEEK:
+ case KEY_GENERIC_NEXT_WEEK:
case KEY_GENERIC_GOTO_TODAY:
case KEY_GENERIC_CREDITS:
case KEY_GENERIC_CUT:
@@ -212,10 +212,10 @@ static int wanted_page(int ch)
case KEY_GENERIC_REDRAW:
case KEY_GENERIC_ADD_APPT:
case KEY_GENERIC_ADD_TODO:
- case KEY_GENERIC_NEXT_DAY:
case KEY_GENERIC_PREV_DAY:
- case KEY_GENERIC_NEXT_WEEK:
+ case KEY_GENERIC_NEXT_DAY:
case KEY_GENERIC_PREV_WEEK:
+ case KEY_GENERIC_NEXT_WEEK:
case KEY_GENERIC_GOTO_TODAY:
page = HELP_GENERAL;
break;