diff --git a/src/post_modules/GTK/source/gtkcalendar.pre b/src/post_modules/GTK/source/gtkcalendar.pre
index 148d0e4e112e2dc5b183a5e7b5f39fe06af8a970..297857dd39ab2417ccd07307934c967c0b4bbfe7 100644
--- a/src/post_modules/GTK/source/gtkcalendar.pre
+++ b/src/post_modules/GTK/source/gtkcalendar.pre
@@ -87,7 +87,7 @@ array(array(int)) get_day_month()
   int i,j;
   for(i=0; i<6; i++)
   {
-    for(j=0; j<7; i++)
+    for(j=0; j<7; j++)
       push_int( GTK_CALENDAR( THIS->obj )->day_month[i][j] );
     f_aggregate( 7 );
   }
@@ -101,7 +101,7 @@ array(array(int)) get_day()
   int i,j;
   for(i=0; i<6; i++)
   {
-    for(j=0; j<7; i++)
+    for(j=0; j<7; j++)
       push_int( GTK_CALENDAR( THIS->obj )->day[i][j] );
     f_aggregate( 7 );
   }