aboutsummaryrefslogtreecommitdiffstats
path: root/src/calendar.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-03-10 15:54:24 +0000
committerFrederic Culot <calcurse@culot.org>2007-03-10 15:54:24 +0000
commitf82590c811bcff3f760063859d855865ec083a49 (patch)
tree832f413d9b32894ec68e01ef2b585b0a2d4e67e3 /src/calendar.c
parentb1d02bf4ff30bc33645ae5f436afcbec6640efda (diff)
downloadcalcurse-f82590c811bcff3f760063859d855865ec083a49.tar.gz
calcurse-f82590c811bcff3f760063859d855865ec083a49.zip
global variable 'colr' suppressed
Diffstat (limited to 'src/calendar.c')
-rwxr-xr-xsrc/calendar.c9
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) {