Skip to content
Snippets Groups Projects
Commit 8f91ef6e authored by Peter Bortas's avatar Peter Bortas
Browse files

Fixed infinite loop in GTK calendar get_day() and get_day_month().

Rev: src/post_modules/GTK/source/gtkcalendar.pre:1.9
parent 7991f109
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,7 @@ array(array(int)) get_day_month() ...@@ -87,7 +87,7 @@ array(array(int)) get_day_month()
int i,j; int i,j;
for(i=0; i<6; i++) 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] ); push_int( GTK_CALENDAR( THIS->obj )->day_month[i][j] );
f_aggregate( 7 ); f_aggregate( 7 );
} }
...@@ -101,7 +101,7 @@ array(array(int)) get_day() ...@@ -101,7 +101,7 @@ array(array(int)) get_day()
int i,j; int i,j;
for(i=0; i<6; i++) 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] ); push_int( GTK_CALENDAR( THIS->obj )->day[i][j] );
f_aggregate( 7 ); f_aggregate( 7 );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment