diff options
| author | Victor Kareh <[email protected]> | 2026-04-01 13:28:21 -0400 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-04-01 13:28:21 -0400 |
| commit | f318f289f3276873f35556287f698c99e6ab2b74 (patch) | |
| tree | 32209dbeb7f2872c21f3fd43ddf97bf218623211 | |
| parent | d67f86922f566fde7c3ad541b48c5ecf4a861e18 (diff) | |
| download | mate-panel-fish-applet-april-fools.tar.bz2 mate-panel-fish-applet-april-fools.tar.xz | |
fish: Fix alternating animation during April Foolsfish-applet-april-fools
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.
| -rw-r--r-- | applets/fish/fish.c | 2 |
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); } |
