From f82590c811bcff3f760063859d855865ec083a49 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sat, 10 Mar 2007 15:54:24 +0000 Subject: global variable 'colr' suppressed --- src/calendar.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/calendar.c') 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) { -- cgit v1.2.3-54-g00ecf