t9001: style modernisation phase #3
[gitweb.git] / builtin / log.c
index 83c0b927070793ed421992a1647e3c0e71721cc3..734aab3a73185964d18c82fe5eb31008bbc409b7 100644 (file)
@@ -391,7 +391,7 @@ static int git_log_config(const char *var, const char *value, void *cb)
                return 0;
        }
        if (skip_prefix(var, "color.decorate.", &slot_name))
-               return parse_decorate_color_config(var, slot_name - var, value);
+               return parse_decorate_color_config(var, slot_name, value);
        if (!strcmp(var, "log.mailmap")) {
                use_mailmap_config = git_config_bool(var, value);
                return 0;