test/torturethread.c
changeset 1618 3b08574f4c60
parent 1615 d5298e8f22b3
child 1659 14717b52abc0
     1.1 --- a/test/torturethread.c	Wed Apr 12 14:19:11 2006 +0000
     1.2 +++ b/test/torturethread.c	Wed Apr 12 14:25:29 2006 +0000
     1.3 @@ -83,7 +83,7 @@
     1.4  		time_for_threads_to_die[i] = 1;
     1.5  	}
     1.6  
     1.7 -	for(i = NUMTHREADS-1; i >= 0; --i) {
     1.8 +	for(i = 0; i < NUMTHREADS; i++) {
     1.9  		SDL_WaitThread(threads[i], NULL);
    1.10  	}
    1.11  	SDL_Quit();