Enlightenment CVS committal

Author  : nasa01
Project : e_modules
Module  : calendar

Dir     : e_modules/calendar/src


Modified Files:
        calendar_func.c 


Log Message:
apply patch supplied by Robert Litwiniec <linio  a t  wonder.pl> fixes 29 days 
in Feb problem

===================================================================
RCS file: /cvs/e/e_modules/calendar/src/calendar_func.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- calendar_func.c     11 Mar 2006 20:03:56 -0000      1.6
+++ calendar_func.c     1 Apr 2006 22:42:30 -0000       1.7
@@ -247,6 +247,11 @@
    int Sun = 0;
    int Sat = 6;
 
+   if ((calendar->conf->view_year % 4 == 0 ) && 
+      !((calendar->conf->view_year % 100 == 0 ) && 
+      (calendar->conf->view_year % 1000 != 0 )))
+      NumDayMon[1] = 29;
+   
    snprintf(buf, sizeof(buf), "%d", DayOfMonth);
    switch (calendar->conf->DayofWeek_Start)
      {




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

Reply via email to