1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 20:36:38 +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
+2 -1
View File
@@ -1,9 +1,10 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
ChangeLog - 2006-06-15
ChangeLog - 2006-06-16
Version 0.2.0 (under dev!):
* fixed display bug with special char (bug #16732)
* added color encoding for some commands like /me
* renamed plugins names (removed "lib" prefix in name)
* fixed crash when closing DCC/raw buffer if 2 are open (bug #16808)
+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;
}
+2 -1
View File
@@ -1,9 +1,10 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
ChangeLog - 2006-06-15
ChangeLog - 2006-06-16
Version 0.2.0 (under dev!):
* fixed display bug with special char (bug #16732)
* added color encoding for some commands like /me
* renamed plugins names (removed "lib" prefix in name)
* fixed crash when closing DCC/raw buffer if 2 are open (bug #16808)
+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;
}