1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 14:26:39 +02:00

Fixed display bug with special char (bug #16732)

This commit is contained in:
Sebastien Helleu
2006-06-16 13:20:11 +00:00
parent daa802a6a2
commit dc7595c78e
4 changed files with 12 additions and 4 deletions
+4 -1
View File
@@ -446,7 +446,10 @@ gui_chat_display_word_raw (t_gui_window *window, char *string)
{
saved_char = next_char[0];
next_char[0] = '\0';
wprintw (GUI_CURSES(window)->win_chat, "%s", prev_char);
if ((prev_char[0] == -110) && (!prev_char[1]))
wprintw (GUI_CURSES(window)->win_chat, ".");
else
wprintw (GUI_CURSES(window)->win_chat, "%s", prev_char);
next_char[0] = saved_char;
}