From 8cb3f5a78cb8564038f0c7607a4d8f7f9f5921eb Mon Sep 17 00:00:00 2001 From: Rafael Kitover Date: Mon, 31 Dec 2018 03:49:31 -0800 Subject: [PATCH] fix sound api config on linux/mac Missing "|" in option spec would create the "sdlopenal" option instead of separate "sdl|openal" options. Add missing "|" to option spec. --- src/wx/opts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/opts.cpp b/src/wx/opts.cpp index ec316b3f..079b18fb 100644 --- a/src/wx/opts.cpp +++ b/src/wx/opts.cpp @@ -276,7 +276,7 @@ opt_desc opts[] = { #ifdef __WXMSW__ ENUMOPT("Sound/AudioAPI", "", wxTRANSLATE("Sound API; if unsupported, default API will be used"), gopts.audio_api, wxTRANSLATE("sdl|" OAL_SOUND "directsound|" FAUDIO_SOUND "xaudio2")), #else - ENUMOPT("Sound/AudioAPI", "", wxTRANSLATE("Sound API; if unsupported, default API will be used"), gopts.audio_api, wxTRANSLATE("sdl" OAL_SOUND FAUDIO_SOUND)), + ENUMOPT("Sound/AudioAPI", "", wxTRANSLATE("Sound API; if unsupported, default API will be used"), gopts.audio_api, wxTRANSLATE("sdl|" OAL_SOUND FAUDIO_SOUND)), #endif INTOPT("Sound/Buffers", "", wxTRANSLATE("Number of sound buffers"), gopts.audio_buffers, 2, 10), INTOPT("Sound/Enable", "", wxTRANSLATE("Bit mask of sound channels to enable"), gopts.sound_en, 0, 0x30f),