diff options
author | sphericalice <sphericalice@outlook.com> | 2022-01-08 20:39:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-08 20:39:45 +0000 |
commit | 6a21c3f5f30a29e953c20ed09bacfa3d7f4b1a79 (patch) | |
tree | 4a6ee560f67cf86809bbd2377ded4aea0784a7f3 | |
parent | a837d1fe2c43418161704c0a206a3dea2c6cd17a (diff) |
Remove unneeded brackets in GetWeekCount
-rw-r--r-- | src/field_specials.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/field_specials.c b/src/field_specials.c index d97a17a7d..0a7236913 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -932,9 +932,8 @@ u16 GetWeekCount(void) { u16 weekCount = gLocalTime.days / 7; if (weekCount > 9999) - { weekCount = 9999; - } + return weekCount; } |