We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dda16ae commit 0f55b8cCopy full SHA for 0f55b8c
src/common/utility.c
@@ -351,7 +351,7 @@ dt_logo_season_t get_logo_season(void)
351
easter_sunday.tm_hour = easter_sunday.tm_min = easter_sunday.tm_sec = 0;
352
time_t easter_sunday_sec = mktime(&easter_sunday);
353
// we start at midnight, so it's basically +- 2 days
354
- if(abs(easter_sunday_sec - now) <= 2 * 24 * 60 * 60) return DT_LOGO_SEASON_EASTER;
+ if(labs(easter_sunday_sec - now) <= 2 * 24 * 60 * 60) return DT_LOGO_SEASON_EASTER;
355
}
356
357
return DT_LOGO_SEASON_NONE;
0 commit comments