Enlightenment CVS committal Author : nasa01 Project : e_modules Module : calendar
Dir : e_modules/calendar/src Modified Files: e_mod_main.c Log Message: fix wrong year after midnight problem =================================================================== RCS file: /cvs/e/e_modules/calendar/src/e_mod_main.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- e_mod_main.c 5 Apr 2006 17:48:47 -0000 1.11 +++ e_mod_main.c 19 Apr 2006 12:14:26 -0000 1.12 @@ -420,9 +420,9 @@ update_colors(calendar, face); } int skew = calculate_skew(calendar); - + calendar_add_dates(face, calendar, skew); - set_day_label(face->label_object, calendar->conf->DayofWeek_Start, date.tm_mon, date.tm_year); + set_day_label(face->label_object, calendar->conf->DayofWeek_Start, date.tm_mon, (date.tm_year + 1900)); } } return 1; } ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs