diff options
author | Nils Wallménius <nils@rockbox.org> | 2008-10-03 06:47:07 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2008-10-03 06:47:07 +0000 |
commit | 069f5420d66526ea1cbcd38244b70f5307d9bd40 (patch) | |
tree | c6535f2e3903b2e4c65731d734636663526c0c23 /apps | |
parent | 79171b7370bfdd1fd1f8c54939bb7157831723f9 (diff) | |
download | rockbox-069f5420d66526ea1cbcd38244b70f5307d9bd40.tar.gz 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.c | 4 |
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) | |||
91 | today->year = 2000+tm->tm_year%100; | 91 | today->year = 2000+tm->tm_year%100; |
92 | today->wday = tm->tm_wday-1; | 92 | today->wday = tm->tm_wday-1; |
93 | today->mday = tm->tm_mday; | 93 | today->mday = tm->tm_mday; |
94 | #ifdef SIMULATOR | ||
95 | today->wday = 3; | ||
96 | today->mday = 13; | ||
97 | #endif | ||
98 | shown->mday = today->mday; | 94 | shown->mday = today->mday; |
99 | shown->mon = today->mon; | 95 | shown->mon = today->mon; |
100 | shown->year = today->year; | 96 | shown->year = today->year; |