Skip to content

Commit b5bb59d

Browse files
committed
fish: Fix alternating animation during 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.
1 parent d67f869 commit b5bb59d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

applets/fish/fish.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@ static void check_april_fools(FishApplet* fish)
11811181
} else if (tm->tm_mon == fools_month &&
11821182
tm->tm_mday == fools_day &&
11831183
tm->tm_hour >= fools_hour_start &&
1184-
tm->tm_hour <= fools_hour_end) {
1184+
tm->tm_hour < fools_hour_end) {
11851185
fish->april_fools = TRUE;
11861186
update_pixmap (fish);
11871187
}

0 commit comments

Comments
 (0)