aboutsummaryrefslogtreecommitdiffstats
path: root/src/recur.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2008-12-14 11:24:19 +0000
committerFrederic Culot <calcurse@culot.org>2008-12-14 11:24:19 +0000
commit8900d0f8f267c5508aa2c940c57e879baf0a25af (patch)
tree688946cea2de3b868d51ccd75cb3f497c35601ca /src/recur.c
parentf06c1b142f8d952ed63ee35727586f9de124b83f (diff)
downloadcalcurse-8900d0f8f267c5508aa2c940c57e879baf0a25af.tar.gz
calcurse-8900d0f8f267c5508aa2c940c57e879baf0a25af.zip
exceptions now properly taken into account while exporting data
Diffstat (limited to 'src/recur.c')
-rwxr-xr-xsrc/recur.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/src/recur.c b/src/recur.c
index eb98431..339f282 100755
--- a/src/recur.c
+++ b/src/recur.c
@@ -1,4 +1,4 @@
-/* $calcurse: recur.c,v 1.43 2008/12/13 21:41:25 culot Exp $ */
+/* $calcurse: recur.c,v 1.44 2008/12/14 11:24:19 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -403,24 +403,6 @@ recur_save_data (FILE *f)
pthread_mutex_unlock (&(recur_alist_p->mutex));
}
-/* Given a day as long, check if this day belongs to the list of exceptions for
- * the considered item.
- */
-int
-recur_day_is_exc (long day, struct days_s *item_exc)
-{
- const int NOT_EXC = 0;
- const int EXC = 1;
- struct days_s *exc;
-
- for (exc = item_exc; exc != 0; exc = exc->next)
- {
- if (exc->st == day)
- return EXC;
- }
- return NOT_EXC;
-}
-
/*
* Check if the recurrent item belongs to the selected day,
* and if yes, return the real start time.