fixed incorrect if-condition
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6949 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
2a9d01789a
commit
acf512b28a
|
@ -150,7 +150,7 @@ void vectorRewind(vector *v)
|
|||
|
||||
void *vectorNext(vector *v)
|
||||
{
|
||||
if (v->iter >= v->head)
|
||||
if (v->iter >= v->head-1)
|
||||
{
|
||||
vectorRewind(v);
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue