diff test/torturethread.c @ 1618:3b08574f4c60

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Wed, 12 Apr 2006 14:25:29 +0000
parents d5298e8f22b3
children 14717b52abc0
line wrap: on
line diff
--- a/test/torturethread.c	Wed Apr 12 14:19:11 2006 +0000
+++ b/test/torturethread.c	Wed Apr 12 14:25:29 2006 +0000
@@ -83,7 +83,7 @@
 		time_for_threads_to_die[i] = 1;
 	}
 
-	for(i = NUMTHREADS-1; i >= 0; --i) {
+	for(i = 0; i < NUMTHREADS; i++) {
 		SDL_WaitThread(threads[i], NULL);
 	}
 	SDL_Quit();