diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-04-30 09:11:23 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-04-30 09:11:23 +0000 |
commit | 22799314e68a0535f65cc7aa56c490cdde7ca544 (patch) | |
tree | d1335e4461936285515c2fa01b307b5647b6f01b /src/gui/chat.cpp | |
parent | b7dfc4d660d3ad930610c4f6af35d8e916a7feb8 (diff) | |
download | mana-22799314e68a0535f65cc7aa56c490cdde7ca544.tar.gz mana-22799314e68a0535f65cc7aa56c490cdde7ca544.tar.bz2 mana-22799314e68a0535f65cc7aa56c490cdde7ca544.tar.xz mana-22799314e68a0535f65cc7aa56c490cdde7ca544.zip |
Updated change log and made little fix.
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r-- | src/gui/chat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index a193a5e7..49841623 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -213,7 +213,7 @@ void ChatWindow::action(const std::string& eventId) std::string message = chatInput->getText(); if (message.length() > 0) { - if (message != history.back()) { + if (history.size() == 0 || message != history.back()) { history.push_back(message); } curHist = history.end(); |