aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/highlight.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/highlight.c')
-rw-r--r--src/nvim/highlight.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/highlight.c b/src/nvim/highlight.c
index ee79958034..229da03cb4 100644
--- a/src/nvim/highlight.c
+++ b/src/nvim/highlight.c
@@ -962,7 +962,8 @@ int object_to_color(Object val, char *key, bool rgb, Error *err)
}
int color;
if (rgb) {
- color = name_to_color(str.data);
+ int dummy;
+ color = name_to_color(str.data, &dummy);
} else {
color = name_to_ctermcolor(str.data);
}