diff --git a/simgear/nasal/lib.c b/simgear/nasal/lib.c index 2250538e..67619909 100644 --- a/simgear/nasal/lib.c +++ b/simgear/nasal/lib.c @@ -219,7 +219,8 @@ static naRef f_vecindex(naContext c, naRef me, int argc, naRef* args) if(naIsNil(vec) || naIsNil(value)) ARGERR(); if(!naIsVector(vec)) return naNil(); const int len = naVec_size(vec); - for(int i=0; i