core: fix color of long lines (displayed on more than one line on screen) under FreeBSD (bug #36999)
This commit is contained in:
parent
d5c4f05497
commit
e59c18109d
@ -7,6 +7,8 @@ v0.3.9-dev, 2012-08-17
|
|||||||
Version 0.3.9 (under dev!)
|
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
|
* core: add mouse bindings ctrl+wheel up/down to scroll horizontally buffers
|
||||||
with free content
|
with free content
|
||||||
* core: return error string to callback of hook_connect if getaddrinfo fails in
|
* 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)
|
if (!simulate)
|
||||||
{
|
{
|
||||||
wattr_set (GUI_WINDOW_OBJECTS(window)->win_chat, attrs, pair, NULL);
|
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 ();
|
gui_window_restore_style ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user