CVS: setedit/holidays deutschland.c,1.1,1.2
Brought to you by:
set
From: Salvador E. T. <se...@us...> - 2009-02-24 16:18:05
|
Update of /cvsroot/setedit/setedit/holidays In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23076/holidays Modified Files: deutschland.c Log Message: * Added: Small detail for years upto 1994. Index: deutschland.c =================================================================== RCS file: /cvsroot/setedit/setedit/holidays/deutschland.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** deutschland.c 24 Feb 2009 16:07:32 -0000 1.1 --- deutschland.c 24 Feb 2009 16:17:54 -0000 1.2 *************** *** 14,18 **** #define FIXED 10 #define ONLY_NATIONAL 0 - #define TOTAL_NATIONAL 9 #define TOTAL 16 #define EASTER_REL 5 --- 14,17 ---- *************** *** 48,53 **** { int j,v,easter_sunday,a; ! struct dayMonth *ret=(struct dayMonth *)malloc(sizeof(struct dayMonth)* ! (ONLY_NATIONAL ? TOTAL_NATIONAL : TOTAL)); int i,k; --- 47,51 ---- { int j,v,easter_sunday,a; ! struct dayMonth *ret=(struct dayMonth *)malloc(sizeof(struct dayMonth)*TOTAL)); int i,k; *************** *** 76,80 **** } /* A special one */ ! if (!ONLY_NATIONAL) { int d, wd; --- 74,78 ---- } /* A special one */ ! if (year<1995 || !ONLY_NATIONAL) { int d, wd; |