diff options
| author | Markus Braun <markus.braun@krawel.de> | 2003-05-27 14:40:18 +0000 |
|---|---|---|
| committer | Markus Braun <markus.braun@krawel.de> | 2003-05-27 14:40:18 +0000 |
| commit | 66875e0f90c9c86c9c896f83241bb956f7692d94 (patch) | |
| tree | 647da75ab0317442a4d06aa3e4a93f052bbb6486 | |
| parent | 44ee2ab577d3de6f078327f76b3e378cb09cde68 (diff) | |
| download | rockbox-66875e0f90c9c86c9c896f83241bb956f7692d94.zip rockbox-66875e0f90c9c86c9c896f83241bb956f7692d94.tar.gz rockbox-66875e0f90c9c86c9c896f83241bb956f7692d94.tar.bz2 rockbox-66875e0f90c9c86c9c896f83241bb956f7692d94.tar.xz | |
Silly, Silly. There is no day/month 0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3701 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/settings_menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c index 4fa8067..1f31803 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c @@ -542,8 +542,8 @@ static bool timedate_set(void) timedate[1] < 0 || timedate[1] > 59 || timedate[2] < 0 || timedate[2] > 59 || timedate[3] < 0 || timedate[3] > 99 || - timedate[4] < 0 || timedate[4] > 12 || - timedate[5] < 0 || timedate[5] > 31) + timedate[4] < 1 || timedate[4] > 12 || + timedate[5] < 1 || timedate[5] > 31) { /* hour */ timedate[0] = 0; |