From 7b11d719316e84d97e95a32de2a74803aa18e5da Mon Sep 17 00:00:00 2001 From: Fate Date: Sat, 6 Dec 2008 19:55:22 -0700 Subject: Minor punctuation fix, merged earlier /whisper fix/help update with separate fix for same issue --- src/gui/chat.cpp | 4 ++-- 1 file 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 ", BY_SERVER); chatLog("Command: /w ", BY_SERVER); - chatLog("This command sends the message to to .", BY_SERVER); chatLog("If the has spaces in it, enclose it in " "double quotes (\").", BY_SERVER); return; -- cgit v1.2.3-70-g09d2