fixed incorrect if-condition

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6949 4a71c877-e1ca-e34f-864e-861f7616d084
master
Elio Gubser 2009-04-05 07:48:52 +00:00 committed by Git SVN Gateway
parent 2a9d01789a
commit acf512b28a
1 changed files with 1 additions and 1 deletions

View File

@ -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;