]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
take utf8_enable into account when printing the dots for a multiline chatmessage
authorblub <blub@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 24 Dec 2009 09:48:37 +0000 (09:48 +0000)
committerblub <blub@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 24 Dec 2009 09:48:37 +0000 (09:48 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9664 d7cf8633-e32d-0410-b094-e92efae38249

console.c

index 6a59b970f4a1d72c830cd4017343ac7fc5ee1276..4adf5af4bbe4133cdcf5661cb33ca5cba62ccd94 100644 (file)
--- 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)