1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 16:23:14 +02:00

Fixed call to "has_color" in gui_window_set_color function

This commit is contained in:
Sebastien Helleu
2005-04-22 16:47:02 +00:00
parent 992632857f
commit d90587c443
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ gui_get_color_by_value (int color_value)
void
gui_window_set_color (WINDOW *window, int num_color)
{
if (has_colors)
if (has_colors ())
{
if (color_attr[num_color - 1] & A_BOLD)
wattron (window, COLOR_PAIR (num_color) | A_BOLD);
+1 -1
View File
@@ -143,7 +143,7 @@ gui_get_color_by_value (int color_value)
void
gui_window_set_color (WINDOW *window, int num_color)
{
if (has_colors)
if (has_colors ())
{
if (color_attr[num_color - 1] & A_BOLD)
wattron (window, COLOR_PAIR (num_color) | A_BOLD);