mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 07:16:37 +02:00
core: fix display of invalid UTF-8 chars in bars (issue #218)
This commit is contained in:
@@ -473,6 +473,7 @@ gui_bar_window_draw (struct t_gui_bar_window *bar_window,
|
||||
content = gui_bar_window_content_get_with_filling (bar_window, window);
|
||||
if (content)
|
||||
{
|
||||
utf8_normalize (content, '?');
|
||||
if ((filling == GUI_BAR_FILLING_HORIZONTAL)
|
||||
&& (bar_window->scroll_x > 0))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user