diff options
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/cal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/cal.c b/coreutils/cal.c index 37aca00..3170993 100644 --- a/coreutils/cal.c +++ b/coreutils/cal.c @@ -45,7 +45,7 @@ static unsigned julian; /* leap year -- account for Gregorian reformation in 1752 */ static int leap_year(unsigned yr) { - if (yr <= 1752) + if (yr <= 1752) return !(yr % 4); return (!(yr % 4) && (yr % 100)) || !(yr % 400); } |