From 473f888ba53fb57d4eb102227d63509a11ba221c Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Sun, 15 Mar 2020 21:14:09 +0100 Subject: [PATCH] Ignore white space when spelling groupe name --- AudioUnit.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AudioUnit.cpp b/AudioUnit.cpp index 6c8fa20..93e1947 100644 --- a/AudioUnit.cpp +++ b/AudioUnit.cpp @@ -428,6 +428,10 @@ void CAudioUnit::spellGroup(unsigned int id, const std::string& groupName, const { for(auto it = groupName.begin(); it != groupName.end();it++) { + if((*it) ==' ') + { + continue; + } std::string cstr; cstr.push_back(std::tolower((*it))); lookup(id, cstr, destination);