fixed ambiguous comparison, it's a QChar, not a string

This commit is contained in:
isanae
2021-01-30 14:55:21 -05:00
parent 5318fc2c08
commit 0d6615313e
+1 -1
View File
@@ -161,7 +161,7 @@ QStringList HandlerStorage::stripCall(const QString &call)
}
// Space outside a quote means the end of a word
if (*iter == " " && !in_quote) {
if (*iter == ' ' && !in_quote) {
// Don't process stuff like %1, %2, etc.
if (!word.contains(invalid_arguments)) {
results << word;