diff options
author | Fate <fate-tmw@googlemail.com> | 2008-12-06 19:55:22 -0700 |
---|---|---|
committer | Fate <fate-tmw@googlemail.com> | 2008-12-06 19:55:22 -0700 |
commit | 7b11d719316e84d97e95a32de2a74803aa18e5da (patch) | |
tree | e06f5b46ecf220c3d3ed65f0c40052d00d031148 /src | |
parent | 483941ef2a4faef54865b3ce2e316cb32ed8cf64 (diff) | |
download | mana-7b11d719316e84d97e95a32de2a74803aa18e5da.tar.gz mana-7b11d719316e84d97e95a32de2a74803aa18e5da.tar.bz2 mana-7b11d719316e84d97e95a32de2a74803aa18e5da.tar.xz mana-7b11d719316e84d97e95a32de2a74803aa18e5da.zip |
Minor punctuation fix, merged earlier /whisper fix/help update with separate fix for same issue
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/chat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index b9e11dad..1e22772b 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -250,7 +250,7 @@ void ChatWindow::whisper(const std::string &nick, std::string msg, int prefixlen) { std::string recvnick = ""; - msg.erase(0, prefixlen); + msg.erase(0, prefixlen + 1); if (msg.substr(0,1) == "\"") { @@ -539,7 +539,7 @@ void ChatWindow::help(const std::string &msg1, const std::string &msg2) { chatLog("Command: /whisper <nick> <msg>", BY_SERVER); chatLog("Command: /w <nick> <msg>", BY_SERVER); - chatLog("This command sends the message <msg> to <nick.", BY_SERVER); + chatLog("This command sends the message <msg> to <nick>.", BY_SERVER); chatLog("If the <nick> has spaces in it, enclose it in " "double quotes (\").", BY_SERVER); return; |