diff options
Diffstat (limited to 'cgit.c')
-rw-r--r-- | cgit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -110,7 +110,7 @@ static void config_cb(const char *name, const char *value) | |||
110 | ctx.repo->path = trim_end(value, '/'); | 110 | ctx.repo->path = trim_end(value, '/'); |
111 | else if (ctx.repo && starts_with(name, "repo.")) | 111 | else if (ctx.repo && starts_with(name, "repo.")) |
112 | repo_config(ctx.repo, name + 5, value); | 112 | repo_config(ctx.repo, name + 5, value); |
113 | else if (!strcmp(name, "readme") && value != NULL) | 113 | else if (!strcmp(name, "readme")) |
114 | string_list_append(&ctx.cfg.readme, xstrdup(value)); | 114 | string_list_append(&ctx.cfg.readme, xstrdup(value)); |
115 | else if (!strcmp(name, "root-title")) | 115 | else if (!strcmp(name, "root-title")) |
116 | ctx.cfg.root_title = xstrdup(value); | 116 | ctx.cfg.root_title = xstrdup(value); |