diff options
Diffstat (limited to 'plugins/Boltun/src/Engine/TalkEngine.cpp')
-rw-r--r-- | plugins/Boltun/src/Engine/TalkEngine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Boltun/src/Engine/TalkEngine.cpp b/plugins/Boltun/src/Engine/TalkEngine.cpp index 7d1ca265ed..8ab48cd075 100644 --- a/plugins/Boltun/src/Engine/TalkEngine.cpp +++ b/plugins/Boltun/src/Engine/TalkEngine.cpp @@ -1,5 +1,5 @@ //***********************************************************
-// Copyright © 2008 Valentin Pavlyuchenko
+// Copyright © 2008 Valentin Pavlyuchenko
//
// This file is part of Boltun.
//
@@ -94,7 +94,7 @@ wstring TalkBot::GetInitMessage(MCONTACT contact) wstring TalkBot::ReplaceAliases(const wstring &message)
{
- const wchar_t dividers[] = L" \t\n\r,./?\\|;:'\"~!#^&*()_-+=[{]}—\1";
+ const wchar_t dividers[] = L" \t\n\r,./?\\|;:'\"~!#^&*()_-+=[{]}—\1";
wstring sentence = message;
wstring result;
map<size_t, wstring> sm;
@@ -490,7 +490,7 @@ const Mind& TalkBot::GetMind() const void TalkBot::SplitAndSortWords(wstring sentence, vector<wstring>& keywords,
vector<wstring>& otherwords, bool& isQuestion)
{
- const wchar_t dividers[] = L" \t\n\r,./?\\|;:'\"~!#^&*()_-+=[{]}—";
+ const wchar_t dividers[] = L" \t\n\r,./?\\|;:'\"~!#^&*()_-+=[{]}—";
int len = (int)sentence.length();
vector<wstring> words;
map<size_t, wstring> sm;
|