Merge pull request #1595 from sphericalice/patch-3

Remove unneeded brackets in GetWeekCount
This commit is contained in:
GriffinR 2022-01-08 17:44:25 -05:00 committed by GitHub
commit 30dbf3f858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -932,9 +932,8 @@ u16 GetWeekCount(void)
{
u16 weekCount = gLocalTime.days / 7;
if (weekCount > 9999)
{
weekCount = 9999;
}
return weekCount;
}