From: blub Date: Thu, 24 Dec 2009 09:48:37 +0000 (+0000) Subject: take utf8_enable into account when printing the dots for a multiline chatmessage X-Git-Tag: xonotic-v0.1.0preview~984 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ecdbfb22b8a105300cf855f7dcdb4f2645d716b9;p=xonotic%2Fdarkplaces.git take utf8_enable into account when printing the dots for a multiline chatmessage git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9664 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/console.c b/console.c index 6a59b970..4adf5af4 100644 --- a/console.c +++ b/console.c @@ -1616,7 +1616,7 @@ void Con_DrawNotify (void) if(numChatlines) { v = chatstart + numChatlines * con_chatsize.value; - Con_DrawNotifyRect(CON_MASK_CHAT, CON_MASK_INPUT, con_chattime.value, 0, chatstart, vid_conwidth.value * con_chatwidth.value, v - chatstart, con_chatsize.value, 0.0, 1.0, /*"^3\014\014\014 "*/ "^3\xee\x80\x8d\xee\x80\x8d\xee\x80\x8d "); // 015 is ·> character in conchars.tga + Con_DrawNotifyRect(CON_MASK_CHAT, CON_MASK_INPUT, con_chattime.value, 0, chatstart, vid_conwidth.value * con_chatwidth.value, v - chatstart, con_chatsize.value, 0.0, 1.0, (utf8_enable.integer ? "^3\xee\x80\x8c\xee\x80\x8c\xee\x80\x8c " : "^3\014\014\014 ")); // 015 is ·> character in conchars.tga } if (key_dest == key_message)