aboutsummaryrefslogtreecommitdiff
path: root/src/guiChatConsole.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/guiChatConsole.cpp (renamed from src/client/guiChatConsole.cpp)4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/guiChatConsole.cpp b/src/guiChatConsole.cpp
index d8837556a..bb58d1305 100644
--- a/src/client/guiChatConsole.cpp
+++ b/src/guiChatConsole.cpp
@@ -346,9 +346,9 @@ void GUIChatConsole::drawText()
// Draw colored text if FreeType is enabled
irr::gui::CGUITTFont *tmp = static_cast<irr::gui::CGUITTFont*>(m_font);
tmp->draw(
- fragment.text.c_str(),
+ fragment.text,
destrect,
- fragment.text.getColors(),
+ video::SColor(255, 255, 255, 255),
false,
false,
&AbsoluteClippingRect);