aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-07-01 17:57:57 +0000
committerFrederic Culot <calcurse@culot.org>2007-07-01 17:57:57 +0000
commit8a59ab6d2d0764420b05f5eefd0e31a167ecd576 (patch)
tree26e2bd97b0809d701b0487d5e3de89ac1645fb02
parenta17eb2b9cbfaf51e12cc5e7bfac56f38c52efffc (diff)
downloadcalcurse-8a59ab6d2d0764420b05f5eefd0e31a167ecd576.tar.gz
calcurse-8a59ab6d2d0764420b05f5eefd0e31a167ecd576.zip
call to calendar_week_begins_on_monday() added
-rwxr-xr-xsrc/io.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/io.c b/src/io.c
index fca1259..95dbbb5 100755
--- a/src/io.c
+++ b/src/io.c
@@ -1,4 +1,4 @@
-/* $calcurse: io.c,v 1.16 2007/05/06 13:32:17 culot Exp $ */
+/* $calcurse: io.c,v 1.17 2007/07/01 17:57:57 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -44,6 +44,7 @@
#include "apoint.h"
#include "recur.h"
#include "io.h"
+#include "calendar.h"
typedef enum {
PROGRESS_BAR_SAVE,
@@ -457,7 +458,7 @@ io_save_cal(conf_t *conf)
"\n# If this option is set to yes, monday is the first day of the week, else it is sunday\n");
fprintf(data_file, "week_begins_on_monday=\n");
fprintf(data_file, "%s\n",
- (conf->week_begins_on_monday) ? "yes" : "no");
+ (calendar_week_begins_on_monday()) ? "yes" : "no");
fprintf(data_file,
"\n# This is the color theme used for menus :\n");