diff --git a/src/dlg_easy_setup.cpp b/src/dlg_easy_setup.cpp index 7819efba2..95b303262 100644 --- a/src/dlg_easy_setup.cpp +++ b/src/dlg_easy_setup.cpp @@ -1111,7 +1111,7 @@ void EasySetupDialog::updateAudioDevices_() auto outputDevices = audioEngine->getAudioDeviceList(IAudioEngine::AUDIO_ENGINE_OUT); wxRegEx soundDeviceCleanup("^([:alpha:]+)[:space:]*\\(|^alsa_(input|output)\\."); - wxRegEx rightParenRgx("[:space:]*\\)[:space:]*$"); + wxRegEx rightParenRgx("\\)[:space:]*$"); for (auto& dev : inputDevices) {