Template:Team:Edinburgh/Code

From 2013.igem.org

(Difference between revisions)
Line 325: Line 325:
else
else
{  
{  
-
if (vDayCount%7==0)
+
if (vDayCount%7==6)
strCell=GenCell(j,false,SaturdayColor);
strCell=GenCell(j,false,SaturdayColor);
-
else if ((vDayCount+6)%7==0)
+
else if (vDayCount%7==0)
strCell=GenCell(j,false,SundayColor);
strCell=GenCell(j,false,SundayColor);
else
else

Revision as of 09:50, 29 September 2013