summaryrefslogtreecommitdiff
path: root/libs/plugins
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-02-26 04:03:10 +0100
committerRobin Gareus <robin@gareus.org>2020-02-26 04:03:10 +0100
commit35605ee7639fd79e5d60360021b9d63a16aa3d08 (patch)
tree5a356747e561816d5e81d81f0becb58248f0166f /libs/plugins
parent69059d7b1bf59b1dc3c1f1af2e1ba2c7dc34ba5f (diff)
Remove easter-egg
Every day can be x-mas day, how else can we be lovers? :)
Diffstat (limited to 'libs/plugins')
-rw-r--r--libs/plugins/reasonablesynth.lv2/lv2.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/libs/plugins/reasonablesynth.lv2/lv2.c b/libs/plugins/reasonablesynth.lv2/lv2.c
index 03d4b8646d..231c139982 100644
--- a/libs/plugins/reasonablesynth.lv2/lv2.c
+++ b/libs/plugins/reasonablesynth.lv2/lv2.c
@@ -99,18 +99,10 @@ instantiate (const LV2_Descriptor* descriptor,
self->synth = synth_alloc();
synth_init(self->synth, rate);
-#ifndef PLATFORM_WINDOWS // easter egg is for sane platforms with native support for localtime_r only
- if (!getenv("HEATHEN")) {
- struct tm date;
- time_t now;
- time(&now);
- localtime_r(&now, &date);
- if (getenv("ITSXMAS") || (date.tm_mon == 11 /*dec*/ && date.tm_mday == 25)) {
- printf("reasonable synth.lv2 says: happy holidays!\n");
- self->xmas = true;
- }
+ if (getenv("ITSXMAS")) {
+ printf("reasonable synth.lv2 says: happy holidays!\n");
+ self->xmas = true;
}
-#endif
return (LV2_Handle)self;
}