Merge pull request #1595 from sphericalice/patch-3
Remove unneeded brackets in GetWeekCount
This commit is contained in:
commit
30dbf3f858
1 changed files with 1 additions and 2 deletions
|
@ -932,9 +932,8 @@ u16 GetWeekCount(void)
|
|||
{
|
||||
u16 weekCount = gLocalTime.days / 7;
|
||||
if (weekCount > 9999)
|
||||
{
|
||||
weekCount = 9999;
|
||||
}
|
||||
|
||||
return weekCount;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue