src/calendar.c: Add a count parameter to calendar_move()

Allows for moving more than one step forward/backward.

This is not used anywhere yet but a key binding will likely be added in
one of the following patches.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer
2011-09-29 16:22:07 +02:00
parent 6bdc36b15a
commit 2d5ce0d95c
3 changed files with 15 additions and 13 deletions

View File

@@ -611,7 +611,7 @@ long calendar_get_slctd_day_sec (void);
void calendar_update_panel (struct window *);
void calendar_goto_today (void);
void calendar_change_day (int);
void calendar_move (enum move);
void calendar_move (enum move, int);
long calendar_start_of_year (void);
long calendar_end_of_year (void);
char *calendar_get_pom (time_t);