diff options
author | 2015-09-30 08:29:01 +0200 | |
---|---|---|
committer | 2015-09-30 08:29:01 +0200 | |
commit | 8e4ced4b531ac52fb764d9374a7c215bc62a890a (patch) | |
tree | c29767f6a9f305bac993eaaf1ca268e85cf0427c /src/lib/util/coreutil.c | |
parent | 9fd990dea821ddca94916fa3eed0aef824eb08ea (diff) |
Cleanups and version bumpmame0166
Diffstat (limited to 'src/lib/util/coreutil.c')
-rw-r--r-- | src/lib/util/coreutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/util/coreutil.c b/src/lib/util/coreutil.c index 88236d4e1fb..90bcab9ab1a 100644 --- a/src/lib/util/coreutil.c +++ b/src/lib/util/coreutil.c @@ -86,8 +86,8 @@ int gregorian_days_in_month(int month, int year) assert(month >= 1 && month <= 12); int days[] = { 31,28,31,30,31,30,31,31,30,31,30,31 }; - days[1] += gregorian_is_leap_year(year) ? 1 : 0; - return days[month-1]; + days[1] += gregorian_is_leap_year(year) ? 1 : 0; + return days[month-1]; } |