diff options
Diffstat (limited to 'src/calendar.c')
-rwxr-xr-x | src/calendar.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/calendar.c b/src/calendar.c index 7a4c406..5d127bd 100755 --- a/src/calendar.c +++ b/src/calendar.c @@ -1,4 +1,4 @@ -/* $calcurse: calendar.c,v 1.6 2007/01/16 07:50:59 culot Exp $ */ +/* $calcurse: calendar.c,v 1.7 2007/03/10 15:54:59 culot Exp $ */ /* * Calcurse - text-based organizer @@ -182,8 +182,8 @@ long ymd_to_scalar(unsigned annee, unsigned mois, unsigned jour) * sel_day, sel_month and sel_year represent the day given back. */ void -goto_day(int colr, int day, int month, int year, - int *sel_day, int *sel_month, int *sel_year) +goto_day(int day, int month, int year, int *sel_day, int *sel_month, + int *sel_year) { #define LDAY 11 char selected_day[LDAY] = ""; @@ -195,8 +195,7 @@ goto_day(int colr, int day, int month, int year, while (wrong_day) { status_mesg(request_date, ""); - if (getstring(swin, colr, selected_day, LDAY, 0, 1) == - GETSTRING_ESC) + if (getstring(swin, selected_day, LDAY, 0, 1) == GETSTRING_ESC) return; else { if (strlen(selected_day) == 0) { |