aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2017-09-05 01:15:25 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2017-09-08 21:08:53 +0200
commit172efd71798a00469658b0f0e6fc730bac6fa5fe (patch)
tree9317f6b3f570eb9bd1a95ef607fed871bc5f44c8 /src/utils.c
parent90fe21af88b7191a7f3a979040ec07c3ed03960b (diff)
downloadcalcurse-172efd71798a00469658b0f0e6fc730bac6fa5fe.tar.gz
calcurse-172efd71798a00469658b0f0e6fc730bac6fa5fe.zip
Remove phase of moon feature
The computation never really worked before and it seems like the feature is not very helpful, sometimes even confusing (see GitHub issue #21). The macro ISLEAP is moved to calcurse.h. Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c
index e0e35bc..11d4582 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -51,8 +51,6 @@
#include "calcurse.h"
#include "sha1.h"
-#define ISLEAP(y) ((((y) % 4) == 0 && ((y) % 100) != 0) || ((y) % 400) == 0)
-
#define FS_EXT_MAXLEN 64
enum format_specifier {