From dc7d3f707a401af36fb9fe27f1e66f9cd417b374 Mon Sep 17 00:00:00 2001 From: karl Date: Thu, 22 Jun 2000 20:18:19 +0000 Subject: [PATCH] If a repetition had no list, it would iterate from 0 to INT_MAX git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@6776 72102866-910b-0410-8b05-ffd578937521 --- GSWeb.framework/GSWRepetition.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/GSWeb.framework/GSWRepetition.m b/GSWeb.framework/GSWRepetition.m index 897fa22..5e6ddfc 100644 --- a/GSWeb.framework/GSWRepetition.m +++ b/GSWeb.framework/GSWRepetition.m @@ -115,7 +115,7 @@ static char rcsId[] = "$Id$"; GSWComponent* _component=nil; NSArray* _listValue=nil; int i=0; - int _count=INT_MAX; + int _count=0; #ifndef NDEBBUG int elementsNb=[(GSWElementIDString*)[context_ elementID]elementsNb]; #endif @@ -213,7 +213,7 @@ static char rcsId[] = "$Id$"; GSWComponent* _component=nil; NSArray* _listValue=nil; int i=0; - int _count=INT_MAX; + int _count=0; #ifndef NDEBBUG int elementsNb=[(GSWElementIDString*)[context_ elementID]elementsNb]; #endif @@ -280,7 +280,7 @@ static char rcsId[] = "$Id$"; GSWComponent* _component=nil; NSArray* _listValue=nil; int i=0; - int _count=INT_MAX; + int _count=0; #ifndef NDEBBUG int elementsNb=[(GSWElementIDString*)[context_ elementID]elementsNb]; #endif @@ -361,7 +361,7 @@ static char rcsId[] = "$Id$"; #ifndef NDEBUG GSWElementIDString* debugElementID=[context_ elementID]; #endif - int _count=INT_MAX; + int _count=0; NSArray* _listValue=nil; int i=0; GSWComponent* _component=[context_ component];