changeset 1618:3b08574f4c60

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Wed, 12 Apr 2006 14:25:29 +0000
parents b255b4058d37
children e79e4c5e531b
files test/torturethread.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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();