summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/script/script-buffer.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/script/script-buffer.c b/src/plugins/script/script-buffer.c
index 8f9e95fd2..c0f4169be 100644
--- a/src/plugins/script/script-buffer.c
+++ b/src/plugins/script/script-buffer.c
@@ -104,7 +104,11 @@ script_buffer_display_line_script (int line, struct t_repo_script *script)
num_spaces = max_length - weechat_utf8_strlen_screen (script->description);
snprintf (str_item, sizeof (str_item),
"%s%s",
- weechat_color ((line == script_buffer_selected_line) ? "white" : "249"),
+ weechat_color (
+ weechat_config_string (
+ (line == script_buffer_selected_line) ?
+ script_config_color_text_description_selected :
+ script_config_color_text_description)),
script->description);
}
break;