summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.cpp
diff options
context:
space:
mode:
authorBlue Sans Douze <bluesansdouze@gmail.com>2010-01-24 15:35:23 +0100
committerBlue Sans Douze <bluesansdouze@gmail.com>2010-01-24 15:35:23 +0100
commitbee1477e6f7c029c94c1c0e119e4529d3a55ecda (patch)
tree53d711449b8ead59d2d07b64fd72b96e86948372 /src/utils/stringutils.cpp
parentfd92eb89fffd8e33f34766c338900b39ae3d176a (diff)
downloadMana-bee1477e6f7c029c94c1c0e119e4529d3a55ecda.tar.gz
Mana-bee1477e6f7c029c94c1c0e119e4529d3a55ecda.tar.bz2
Mana-bee1477e6f7c029c94c1c0e119e4529d3a55ecda.tar.xz
Mana-bee1477e6f7c029c94c1c0e119e4529d3a55ecda.zip
Autocomplete names with quotes if the string begins with a / or @ (commands)
Diffstat (limited to 'src/utils/stringutils.cpp')
-rw-r--r--src/utils/stringutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp
index 996be29d..1c10d086 100644
--- a/src/utils/stringutils.cpp
+++ b/src/utils/stringutils.cpp
@@ -143,7 +143,7 @@ int compareStrI(const std::string &a, const std::string &b)
bool isWordSeparator(char chr)
{
- return (chr == ' ' || chr == ',' || chr == '.');
+ return (chr == ' ' || chr == ',' || chr == '.' || chr == '"');
}
const std::string findSameSubstring(const std::string &str1, const std::string &str2)