diff options
author | Baptiste Jonglez <baptiste--git@jonglez.org> | 2012-05-29 09:55:01 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-31 20:45:42 +0200 |
commit | 2c5235cca70bf1c5b5e92dd5b6b178ab13b695f2 (patch) | |
tree | 9185e8079a8ecd0c80c2970e1261e821d1af9952 /src/calendar.c | |
parent | f7a88a5515e9f088a60623e162b89065ddcce757 (diff) | |
download | calcurse-2c5235cca70bf1c5b5e92dd5b6b178ab13b695f2.tar.gz calcurse-2c5235cca70bf1c5b5e92dd5b6b178ab13b695f2.zip |
Make appearance.calendarview more explicit in config file
Instead of using 0 or 1 as a value for `appearance.calendarview`,
introduce the more explicit "monthly" and "weekly".
Also update `scripts/calcurse-upgrade.sh` to reflect the change.
Signed-off-by: Baptiste Jonglez <baptiste--git@jonglez.org>
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calendar.c')
-rw-r--r-- | src/calendar.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/calendar.c b/src/calendar.c index 772c177..f369d8f 100644 --- a/src/calendar.c +++ b/src/calendar.c @@ -57,12 +57,6 @@ #define ISLEAP(y) ((((y) % 4) == 0 && ((y) % 100) != 0) || ((y) % 400) == 0) -enum { - CAL_MONTH_VIEW, - CAL_WEEK_VIEW, - CAL_VIEWS -}; - enum pom { NO_POM, FIRST_QUARTER, |