mirror of
https://github.com/weechat/weechat.git
synced 2026-07-04 08:43:13 +02:00
core: fix color of long lines (displayed on more than one line on screen) under FreeBSD (bug #36999)
This commit is contained in:
@@ -7,6 +7,8 @@ v0.3.9-dev, 2012-08-17
|
||||
Version 0.3.9 (under dev!)
|
||||
--------------------------
|
||||
|
||||
* core: fix color of long lines (displayed on more than one line on screen)
|
||||
under FreeBSD (bug #36999)
|
||||
* core: add mouse bindings ctrl+wheel up/down to scroll horizontally buffers
|
||||
with free content
|
||||
* core: return error string to callback of hook_connect if getaddrinfo fails in
|
||||
|
||||
@@ -502,6 +502,12 @@ gui_chat_display_word (struct t_gui_window *window,
|
||||
if (!simulate)
|
||||
{
|
||||
wattr_set (GUI_WINDOW_OBJECTS(window)->win_chat, attrs, pair, NULL);
|
||||
/*
|
||||
* for unknown reason, the wattr_set function sometimes
|
||||
* fails to set the color pair under FreeBSD, so we force
|
||||
* it again with wcolor_set
|
||||
*/
|
||||
wcolor_set (GUI_WINDOW_OBJECTS(window)->win_chat, pair, NULL);
|
||||
gui_window_restore_style ();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user