src/audio/SDL_audiodev.c
changeset 10603 d2c8ae6ceac8
parent 9998 f67cf37e9cd4
child 10737 3406a0f8b041
     1.1 --- a/src/audio/SDL_audiodev.c	Fri Nov 11 04:35:06 2016 -0800
     1.2 +++ b/src/audio/SDL_audiodev.c	Fri Nov 11 12:41:06 2016 -0800
     1.3 @@ -103,9 +103,10 @@
     1.4  
     1.5      if (SDL_strlen(audiodev) < (sizeof(audiopath) - 3)) {
     1.6          int instance = 0;
     1.7 -        while (instance++ <= 64) {
     1.8 +        while (instance <= 64) {
     1.9              SDL_snprintf(audiopath, SDL_arraysize(audiopath),
    1.10                           "%s%d", audiodev, instance);
    1.11 +            instance++;
    1.12              test_device(iscapture, audiopath, flags, test);
    1.13          }
    1.14      }