summaryrefslogtreecommitdiff
path: root/src/gui/chatwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/chatwindow.cpp')
-rw-r--r--src/gui/chatwindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp
index c33478cc5..bc8bd1f83 100644
--- a/src/gui/chatwindow.cpp
+++ b/src/gui/chatwindow.cpp
@@ -858,8 +858,9 @@ void ChatWindow::keyPressed(gcn::KeyEvent &event)
}
unsigned int f = 0;
- for (std::list<std::string>::const_iterator it = tab->getRows().begin(),
- it_end = tab->getRows().end(); it != it_end; ++it, f++)
+ for (std::list<std::string>::const_iterator
+ it = tab->getRows().begin(), it_end = tab->getRows().end();
+ it != it_end; ++it, f++)
{
if (f == mChatHistoryIndex)
mChatInput->setText(*it);