Commit e9c1e1269cf587e5cb49e9857263d73b1a4d1803

Ryan C. Gordon 2019-10-15T12:02:19

test: Fixed wrong verbose flag check (thanks, watcom.hecht!). Fixes Bugzilla #4826.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/test/SDL_test_common.c b/src/test/SDL_test_common.c
index 95e6f6e..cf46837 100644
--- a/src/test/SDL_test_common.c
+++ b/src/test/SDL_test_common.c
@@ -1072,7 +1072,7 @@ SDLTest_CommonInit(SDLTest_CommonState * state)
                     SDL_GetError());
             return SDL_FALSE;
         }
-        if (state->verbose & VERBOSE_VIDEO) {
+        if (state->verbose & VERBOSE_AUDIO) {
             SDL_Log("Audio driver: %s\n",
                     SDL_GetCurrentAudioDriver());
         }