1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Nils Wallménius 2008-10-03 06:47:07 +00:00
parent 79171b7370
commit 069f5420d6

View file

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