diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-05-03 14:32:28 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2018-05-03 14:32:31 +0200 |
commit | 00b1719b1a4cd3d863dc0f247af0b95d4ea0c0f8 (patch) | |
tree | adb033368047b4f156f5b52cddac3a28e7b3af97 /src/Chatbar.cpp | |
parent | b6e09fe34e81e45562f574b813cccc78fd21fafe (diff) |
Replace all binds in chat
Diffstat (limited to 'src/Chatbar.cpp')
-rw-r--r-- | src/Chatbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Chatbar.cpp b/src/Chatbar.cpp index dd5a925..55fd764 100644 --- a/src/Chatbar.cpp +++ b/src/Chatbar.cpp @@ -228,7 +228,7 @@ namespace dchat if(findOffset != string::npos) { string substr = str.replace(findOffset, substrToReplace.size(), stringToReplaceWith); - findOffset += substrToReplace.size() + stringToReplaceWith.size(); + findOffset += stringToReplaceWith.size(); } } } |