diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2007-02-21 11:56:15 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2007-02-21 11:56:15 +0000 |
| commit | 81029ed17eb99ecfbf2fe3082c88fc32501d2e65 (patch) | |
| tree | 73b1b2962c71627d7ffb149bd5b1c7b608586958 /apps | |
| parent | 31ae2ded5868b9a1db94cc18b80e5433d9157922 (diff) | |
| download | rockbox-81029ed17eb99ecfbf2fe3082c88fc32501d2e65.zip rockbox-81029ed17eb99ecfbf2fe3082c88fc32501d2e65.tar.gz rockbox-81029ed17eb99ecfbf2fe3082c88fc32501d2e65.tar.bz2 rockbox-81029ed17eb99ecfbf2fe3082c88fc32501d2e65.tar.xz | |
Correct drawing of hour hand when hour == 12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12430 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/plugins/clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/clock.c b/apps/plugins/clock.c index 8a7cf81..7e52e2b 100644 --- a/apps/plugins/clock.c +++ b/apps/plugins/clock.c @@ -867,7 +867,7 @@ void init_clock(void) ******************/ void analog_clock(int hour, int minute, int second) { - if(hour > 12) + if(hour >= 12) hour -= 12; int i; @@ -1000,7 +1000,7 @@ void digital_clock(int hour, int minute, int second, bool colon) **********************/ void fullscreen_clock(int hour, int minute, int second) { - if(hour > 12) + if(hour >= 12) hour -= 12; int i; |