From 1d094181ed06edd6f9d851f5d802bc9d03b6c352 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Wed, 8 Oct 2008 19:04:10 +0000 Subject: fixed #479 (chat overlaps when text is 3 lines long) --- src/game/client/components/chat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/client/components/chat.cpp') diff --git a/src/game/client/components/chat.cpp b/src/game/client/components/chat.cpp index abd2f73a..998ba6ed 100644 --- a/src/game/client/components/chat.cpp +++ b/src/game/client/components/chat.cpp @@ -167,7 +167,7 @@ void CHAT::on_render() // get the y offset TEXT_CURSOR cursor; gfx_text_set_cursor(&cursor, begin, 0, fontsize, 0); - cursor.line_width = 300.0f; + cursor.line_width = 200.0f; gfx_text_ex(&cursor, lines[r].name, -1); gfx_text_ex(&cursor, lines[r].text, -1); y -= cursor.y + cursor.font_size; -- cgit 1.4.1