author | Sam Lantinga |
Sat, 07 Jun 2014 17:25:35 -0700 | |
changeset 8837 | 3fa15ed506f3 |
parent 8836 | ab4cb2acb4d1 |
child 8838 | b50a84131dc9 |
test/loopwave.c | file | annotate | diff | comparison | revisions |
1.1 --- a/test/loopwave.c Sat Jun 07 17:09:32 2014 -0700 1.2 +++ b/test/loopwave.c Sat Jun 07 17:25:35 2014 -0700 1.3 @@ -97,7 +97,7 @@ 1.4 } 1.5 /* Load the wave file into memory */ 1.6 if (SDL_LoadWAV(filename, &wave.spec, &wave.sound, &wave.soundlen) == NULL) { 1.7 - SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't load %s: %s\n", argv[1], SDL_GetError()); 1.8 + SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't load %s: %s\n", filename, SDL_GetError()); 1.9 quit(1); 1.10 } 1.11