From 5871712fd408858ddf82cd71a6466651e4754c3a Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sat, 18 Sep 2010 02:12:49 +0000 Subject: [PATCH] - Fixed incorrect definition of FLUID_FAILED when building with DYN_FLUIDSYNTH enabled. SVN r2818 (trunk) --- src/sound/i_musicinterns.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/i_musicinterns.h b/src/sound/i_musicinterns.h index 8c6507167..ccf014555 100644 --- a/src/sound/i_musicinterns.h +++ b/src/sound/i_musicinterns.h @@ -287,7 +287,7 @@ protected: fluid_synth_t *FluidSynth; #ifdef DYN_FLUIDSYNTH - enum { FLUID_FAILED = 1, FLUID_OK = 0 }; + enum { FLUID_FAILED = -1, FLUID_OK = 0 }; fluid_settings_t *(STACK_ARGS *new_fluid_settings)(); fluid_synth_t *(STACK_ARGS *new_fluid_synth)(fluid_settings_t *); int (STACK_ARGS *delete_fluid_synth)(fluid_synth_t *);