summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-08-23 19:06:18 +0200
committerSebastien Helleu <flashcode@flashtux.org>2012-08-23 19:06:18 +0200
commited9537ff76383104fae0e77bc4ee2f66f36db915 (patch)
treede95849c2b88cdd0c035be61b47f63ca61dd86c2 /src
parent2c0b860d62dc49325d64cfb7cb9dc62ccd2a9699 (diff)
downloadweechat-ed9537ff76383104fae0e77bc4ee2f66f36db915.zip
script: fix color used for script description on script buffer
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;