diff options
author | Frederic Culot <calcurse@culot.org> | 2007-07-01 17:57:57 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2007-07-01 17:57:57 +0000 |
commit | 8a59ab6d2d0764420b05f5eefd0e31a167ecd576 (patch) | |
tree | 26e2bd97b0809d701b0487d5e3de89ac1645fb02 /src | |
parent | a17eb2b9cbfaf51e12cc5e7bfac56f38c52efffc (diff) | |
download | calcurse-8a59ab6d2d0764420b05f5eefd0e31a167ecd576.tar.gz calcurse-8a59ab6d2d0764420b05f5eefd0e31a167ecd576.zip |
call to calendar_week_begins_on_monday() added
Diffstat (limited to 'src')
-rwxr-xr-x | src/io.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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"); |