From 8f91ef6ec54759b7d128f4dc0415f03fec1ac36a Mon Sep 17 00:00:00 2001
From: Peter Bortas <zino@lysator.liu.se>
Date: Sat, 5 Jan 2008 18:54:45 +0100
Subject: [PATCH] Fixed infinite loop in GTK calendar get_day() and
 get_day_month().

Rev: src/post_modules/GTK/source/gtkcalendar.pre:1.9
---
 src/post_modules/GTK/source/gtkcalendar.pre | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/post_modules/GTK/source/gtkcalendar.pre b/src/post_modules/GTK/source/gtkcalendar.pre
index 148d0e4e11..297857dd39 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 );
   }
-- 
GitLab