summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/stringutils.cpp')
-rw-r--r--src/utils/stringutils.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp
index ecbd7de19..4f3a156cc 100644
--- a/src/utils/stringutils.cpp
+++ b/src/utils/stringutils.cpp
@@ -157,7 +157,10 @@ int compareStrI(const std::string &a, const std::string &b)
bool isWordSeparator(const signed char chr)
{
- return (chr == ' ' || chr == ',' || chr == '.' || chr == '"');
+ return chr == ' ' ||
+ chr == ',' ||
+ chr == '.' ||
+ chr == '"';
}
const std::string findSameSubstring(const std::string &restrict str1,