comparison src/audio/SDL_audio.c @ 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 dbfa1ebd73b0
children 3ee59c43d784
comparison
equal deleted inserted replaced
2075:46661504398c 2076:939420dee849
344 344
345 345
346 static SDL_AudioFormat 346 static SDL_AudioFormat
347 SDL_ParseAudioFormat(const char *string) 347 SDL_ParseAudioFormat(const char *string)
348 { 348 {
349 #define CHECK_FMT_STRING(x) if (strcmp(string, #x) == 0) return AUDIO_##x 349 #define CHECK_FMT_STRING(x) if (SDL_strcmp(string, #x) == 0) return AUDIO_##x
350 CHECK_FMT_STRING(U8); 350 CHECK_FMT_STRING(U8);
351 CHECK_FMT_STRING(S8); 351 CHECK_FMT_STRING(S8);
352 CHECK_FMT_STRING(U16LSB); 352 CHECK_FMT_STRING(U16LSB);
353 CHECK_FMT_STRING(S16LSB); 353 CHECK_FMT_STRING(S16LSB);
354 CHECK_FMT_STRING(U16MSB); 354 CHECK_FMT_STRING(U16MSB);