src/audio/windib/SDL_dibaudio.c
changeset 2735 204be4fc2726
parent 2060 866052b01ee5
child 2859 99210400e8b9
     1.1 --- a/src/audio/windib/SDL_dibaudio.c	Wed Aug 27 13:37:19 2008 +0000
     1.2 +++ b/src/audio/windib/SDL_dibaudio.c	Wed Aug 27 15:10:03 2008 +0000
     1.3 @@ -107,8 +107,8 @@
     1.4  Uint8 *
     1.5  WINWAVEOUT_GetDeviceBuf(_THIS)
     1.6  {
     1.7 -    return (Uint8 *) (this->hidden->wavebuf[this->hidden->next_buffer].
     1.8 -                      lpData);
     1.9 +    return (Uint8 *) (this->hidden->
    1.10 +                      wavebuf[this->hidden->next_buffer].lpData);
    1.11  }
    1.12  
    1.13  void
    1.14 @@ -136,8 +136,7 @@
    1.15          if (left > 0) {
    1.16              SDL_Delay(100);
    1.17          }
    1.18 -    }
    1.19 -    while (left > 0);
    1.20 +    } while (left > 0);
    1.21  }
    1.22  
    1.23  void