summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-06-02 09:47:20 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-06-02 09:47:20 +0000
commit00d3e974e0cd9da6806c80526f8d0f47ddf01dd2 (patch)
tree17f4c12314c78fae447584276ae6f7d7dcecf92c /src/gui/chat.cpp
parent7f5ecb3d24df397cdee57e545fae42a8e11024f8 (diff)
downloadmana-client-00d3e974e0cd9da6806c80526f8d0f47ddf01dd2.tar.gz
mana-client-00d3e974e0cd9da6806c80526f8d0f47ddf01dd2.tar.bz2
mana-client-00d3e974e0cd9da6806c80526f8d0f47ddf01dd2.tar.xz
mana-client-00d3e974e0cd9da6806c80526f8d0f47ddf01dd2.zip
Changed color of chat messages in OpenGL mode from orange to black.
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r--src/gui/chat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index a6e5df83..aea92d4f 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -127,7 +127,7 @@ ChatWindow::chatLog(std::string line, int own)
break;
case BY_OTHER:
tmp.nick += CAT_NORMAL;
- lineColor = "##4"; // Equiv. to BrowserBox::ORANGE
+ lineColor = "##0"; // Equiv. to BrowserBox::BLACK
break;
case BY_SERVER:
tmp.nick += std::string("Server: ");
@@ -162,7 +162,7 @@ ChatWindow::chatLog(std::string line, int own)
// We look if the Vertical Scroll Bar is set at the max before
// adding a row, otherwise the max will always be a row higher
// at comparison.
- if (mScrollArea->getVerticalScrollAmount() == mScrollArea->getVerticalMaxScroll() )
+ if (mScrollArea->getVerticalScrollAmount() == mScrollArea->getVerticalMaxScroll())
{
mTextOutput->addRow(line);
mScrollArea->setVerticalScrollAmount(mScrollArea->getVerticalMaxScroll());