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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user