Mercurial > sdl-ios-xcode
changeset 2076:939420dee849
Use SDL_strcmp(), not strcmp().
Thanks, Suzuki Masahiro.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 29 Nov 2006 10:26:32 +0000 |
parents | 46661504398c |
children | 8bfba7ec379a |
files | src/audio/SDL_audio.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audio/SDL_audio.c Wed Nov 29 10:22:59 2006 +0000 +++ b/src/audio/SDL_audio.c Wed Nov 29 10:26:32 2006 +0000 @@ -346,7 +346,7 @@ static SDL_AudioFormat SDL_ParseAudioFormat(const char *string) { -#define CHECK_FMT_STRING(x) if (strcmp(string, #x) == 0) return AUDIO_##x +#define CHECK_FMT_STRING(x) if (SDL_strcmp(string, #x) == 0) return AUDIO_##x CHECK_FMT_STRING(U8); CHECK_FMT_STRING(S8); CHECK_FMT_STRING(U16LSB);