]> git.ipfire.org Git - thirdparty/git.git/blobdiff - graph.c
strvec: rename struct fields
[thirdparty/git.git] / graph.c
diff --git a/graph.c b/graph.c
index 09c9cc968cb947d9298e8fd533a20aadf636852d..c128ad0cce8f5954eef4730eb70eb0ffab363310 100644 (file)
--- a/graph.c
+++ b/graph.c
@@ -355,8 +355,8 @@ struct git_graph *graph_init(struct rev_info *opt)
                        parse_graph_colors_config(&custom_colors, string);
                        free(string);
                        /* graph_set_column_colors takes a max-index, not a count */
-                       graph_set_column_colors(custom_colors.argv,
-                                               custom_colors.argc - 1);
+                       graph_set_column_colors(custom_colors.v,
+                                               custom_colors.nr - 1);
                }
        }