aboutsummaryrefslogtreecommitdiffstats
path: root/src/vars.c
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2017-09-05 09:29:17 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2017-09-08 21:08:53 +0200
commitd20f9a5d2e5b9903f7412cdec9e1bf28a94d02da (patch)
treee57836c1d8f3847baaa90538f758475950914709 /src/vars.c
parent172efd71798a00469658b0f0e6fc730bac6fa5fe (diff)
downloadcalcurse-d20f9a5d2e5b9903f7412cdec9e1bf28a94d02da.tar.gz
calcurse-d20f9a5d2e5b9903f7412cdec9e1bf28a94d02da.zip
Make the day heading position configurable
The date at the top of the appointments list may be positioned either to the left, in the middle or to the right. Default is to the right. Can be configured from the general options menu. Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/vars.c')
-rw-r--r--src/vars.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vars.c b/src/vars.c
index 26b829c..1c0980c 100644
--- a/src/vars.c
+++ b/src/vars.c
@@ -121,6 +121,7 @@ void vars_init(void)
conf.progress_bar = 1;
strncpy(conf.output_datefmt, "%D", 3);
conf.input_datefmt = 1;
+ conf.heading_pos = RIGHT;
strcpy(conf.day_heading, DAY_HEADING_DEFAULT);
datefmt_str[0] = _("mm/dd/yyyy");