Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Use SDL_strcmp(), not strcmp().

  Thanks, Suzuki Masahiro.
  • Loading branch information
icculus committed Nov 29, 2006
1 parent 2a651c8 commit b830a66e207f736fdb2e2abd2e7e317a0a0d862a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/audio/SDL_audio.c
@@ -346,7 +346,7 @@ SDL_RunAudio(void *devicep)
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);

0 comments on commit b830a66

Please sign in to comment.