forked from len0rd/rockbox
Correct drawing of hour hand when hour == 12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12430 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
31ae2ded58
commit
81029ed17e
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue