fix some bugs reported in FS#9707 (some of fix is from the patch by Yoshihisa Uchida...
commit0b2a12c831ae8a78c7f10f63a73bc7d4522a2671
authorteru <teru@a1c6a512-1295-4272-9138-f99709370657>
Sat, 25 Jul 2009 12:39:00 +0000 (25 12:39 +0000)
committerteru <teru@a1c6a512-1295-4272-9138-f99709370657>
Sat, 25 Jul 2009 12:39:00 +0000 (25 12:39 +0000)
treeab05c6172751eded63a58a174a52608a339b98b8
parentb3efaf6770ae03eb85829dc903bf5e6666bd00a5
fix some bugs reported in FS#9707 (some of fix is from the patch by Yoshihisa Uchida). see the task for more details.
improve readability of code.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22027 a1c6a512-1295-4272-9138-f99709370657
apps/plugins/chessclock.c