mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
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:
parent
79171b7370
commit
069f5420d6
1 changed files with 0 additions and 4 deletions
|
|
@ -91,10 +91,6 @@ static void calendar_init(struct today *today, struct shown *shown)
|
||||||
today->year = 2000+tm->tm_year%100;
|
today->year = 2000+tm->tm_year%100;
|
||||||
today->wday = tm->tm_wday-1;
|
today->wday = tm->tm_wday-1;
|
||||||
today->mday = tm->tm_mday;
|
today->mday = tm->tm_mday;
|
||||||
#ifdef SIMULATOR
|
|
||||||
today->wday = 3;
|
|
||||||
today->mday = 13;
|
|
||||||
#endif
|
|
||||||
shown->mday = today->mday;
|
shown->mday = today->mday;
|
||||||
shown->mon = today->mon;
|
shown->mon = today->mon;
|
||||||
shown->year = today->year;
|
shown->year = today->year;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue