From bee1477e6f7c029c94c1c0e119e4529d3a55ecda Mon Sep 17 00:00:00 2001 From: Blue Sans Douze Date: Sun, 24 Jan 2010 15:35:23 +0100 Subject: Autocomplete names with quotes if the string begins with a / or @ (commands) --- src/utils/stringutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/stringutils.cpp') 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) -- cgit v1.2.3-70-g09d2