summaryrefslogtreecommitdiff
path: root/src/vars.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-08-15 15:36:05 +0000
committerFrederic Culot <calcurse@culot.org>2007-08-15 15:36:05 +0000
commit8c8f3a56ffa46181bc2285f6bfd51e94d21758b7 (patch)
tree4779bd42c3f12d509c4105955d2410caeebe83cc /src/vars.c
parent9ee3eecfa684a7d881e5372305366f328f4cb040 (diff)
downloadcalcurse-8c8f3a56ffa46181bc2285f6bfd51e94d21758b7.zip
layout is not part of conf_t type anymore, and becomes a static variable in wins.c
Diffstat (limited to 'src/vars.c')
-rwxr-xr-xsrc/vars.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vars.c b/src/vars.c
index 4616dda..2081a33 100755
--- a/src/vars.c
+++ b/src/vars.c
@@ -1,4 +1,4 @@
-/* $calcurse: vars.c,v 1.3 2007/07/21 19:30:55 culot Exp $ */
+/* $calcurse: vars.c,v 1.4 2007/08/15 15:36:05 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -29,6 +29,7 @@
#include "i18n.h"
#include "calendar.h"
#include "custom.h"
+#include "wins.h"
#include "vars.h"
/*
@@ -104,7 +105,7 @@ vars_init(conf_t *conf)
conf->auto_save = true;
conf->skip_system_dialogs = false;
conf->skip_progress_bar = false;
- conf->layout = 1;
+ wins_set_layout(1);
calendar_set_first_day_of_week(MONDAY);