summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2008-10-03 06:47:07 +0000
committerNils Wallménius <nils@rockbox.org>2008-10-03 06:47:07 +0000
commit069f5420d66526ea1cbcd38244b70f5307d9bd40 (patch)
treec6535f2e3903b2e4c65731d734636663526c0c23 /apps
parent79171b7370bfdd1fd1f8c54939bb7157831723f9 (diff)
downloadrockbox-069f5420d66526ea1cbcd38244b70f5307d9bd40.tar.gz
rockbox-069f5420d66526ea1cbcd38244b70f5307d9bd40.tar.bz2
rockbox-069f5420d66526ea1cbcd38244b70f5307d9bd40.zip
Fix FS#9397 - calendar plugin shows incorrect calendars, fix suggested by Thomas Schott
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18690 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/calendar.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/plugins/calendar.c b/apps/plugins/calendar.c
index 82125bb921..286dd83c5b 100644
--- a/apps/plugins/calendar.c
+++ b/apps/plugins/calendar.c
@@ -91,10 +91,6 @@ static void calendar_init(struct today *today, struct shown *shown)
today->year = 2000+tm->tm_year%100;
today->wday = tm->tm_wday-1;
today->mday = tm->tm_mday;
-#ifdef SIMULATOR
- today->wday = 3;
- today->mday = 13;
-#endif
shown->mday = today->mday;
shown->mon = today->mon;
shown->year = today->year;