test/testtimer.c
changeset 766 ed57c876700d
parent 0 74212992fb08
child 1151 be9c9c8f6d53
     1.1 --- a/test/testtimer.c	Sun Jan 04 15:40:50 2004 +0000
     1.2 +++ b/test/testtimer.c	Sun Jan 04 15:48:44 2004 +0000
     1.3 @@ -63,13 +63,13 @@
     1.4  	printf("Testing multiple timers...\n");
     1.5  	t1 = SDL_AddTimer(100, callback, (void*)1);
     1.6  	if(!t1)
     1.7 -	  fprintf(stderr,"Could not create timer 1\n");
     1.8 +	  fprintf(stderr,"Could not create timer 1: %s\n", SDL_GetError());
     1.9  	t2 = SDL_AddTimer(50, callback, (void*)2);
    1.10  	if(!t2)
    1.11 -	  fprintf(stderr,"Could not create timer 2\n");
    1.12 +	  fprintf(stderr,"Could not create timer 2: %s\n", SDL_GetError());
    1.13  	t3 = SDL_AddTimer(233, callback, (void*)3);
    1.14  	if(!t3)
    1.15 -	  fprintf(stderr,"Could not create timer 3\n");
    1.16 +	  fprintf(stderr,"Could not create timer 3: %s\n", SDL_GetError());
    1.17  	
    1.18  	/* Wait 10 seconds */
    1.19  	printf("Waiting 10 seconds\n");