1
0
Fork 0
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:
Linus Nielsen Feltzing 2007-02-21 11:56:15 +00:00
parent 31ae2ded58
commit 81029ed17e

View file

@ -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;