summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2026-04-01 13:28:21 -0400
committerVictor Kareh <[email protected]>2026-04-02 09:19:20 -0400
commitb5bb59d19abf48583f04448c0dd5fee5befa3724 (patch)
tree32209dbeb7f2872c21f3fd43ddf97bf218623211 /applets
parentd67f86922f566fde7c3ad541b48c5ecf4a861e18 (diff)
downloadmate-panel-master.tar.bz2
mate-panel-master.tar.xz
fish: Fix alternating animation during April FoolsHEADmaster
During April Fools in the morning, Wanda the fish is expected to show up upside down, with dirty-looking water, as though dead. However, because of the hour comparison, it ends up alternating between the standard animation and the dead fish.
Diffstat (limited to 'applets')
-rw-r--r--applets/fish/fish.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/fish/fish.c b/applets/fish/fish.c
index d70d250a..a72ff5e4 100644
--- a/applets/fish/fish.c
+++ b/applets/fish/fish.c
@@ -1181,7 +1181,7 @@ static void check_april_fools(FishApplet* fish)
} else if (tm->tm_mon == fools_month &&
tm->tm_mday == fools_day &&
tm->tm_hour >= fools_hour_start &&
- tm->tm_hour <= fools_hour_end) {
+ tm->tm_hour < fools_hour_end) {
fish->april_fools = TRUE;
update_pixmap (fish);
}