From 8a59ab6d2d0764420b05f5eefd0e31a167ecd576 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sun, 1 Jul 2007 17:57:57 +0000 Subject: call to calendar_week_begins_on_monday() added --- src/io.c | 5 +++-- 1 file 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"); -- cgit v1.2.3-70-g09d2