diff options
Diffstat (limited to '')
-rw-r--r--source/filter.h6
-rw-r--r--source/ui-diff.c6
-rw-r--r--source/ui-repolist.c2
3 files changed, 7 insertions, 7 deletions
diff --git a/source/filter.h b/source/filter.h
index 2c8e7b7..cb642bc 100644
--- a/source/filter.h
+++ b/source/filter.h
@@ -33,9 +33,9 @@ struct cgit_exec_filter {
};
extern struct cgit_filter *cgit_new_filter(const char *cmd,
- filter_type filtertype);
+ filter_type filtertype);
extern void cgit_exec_filter_init(struct cgit_exec_filter *filter, const char *cmd,
- const char **argv);
+ const char **argv);
/*
* Redirect stdout into the filter and pass it the variadic arguments its type
@@ -48,7 +48,7 @@ extern int cgit_close_filter(struct cgit_filter *filter);
* Describe the filter the way cgitrc would have configured it.
*/
extern void cgit_fprintf_filter(struct cgit_filter *filter, FILE *f,
- const char *prefix);
+ const char *prefix);
extern void cgit_init_filters(void);
extern void cgit_cleanup_filters(void);
diff --git a/source/ui-diff.c b/source/ui-diff.c
index 805733a..9ea6543 100644
--- a/source/ui-diff.c
+++ b/source/ui-diff.c
@@ -483,9 +483,9 @@ static void print_diffstat(const struct object_id *old_oid, const struct object_
html("</table>\n");
html("<div class='diffstat-summary'>");
htmlf("%d file%s changed, %d insertion%s, %d deletion%s",
- files, files == 1 ? "" : "s",
- total_adds, total_adds == 1 ? "" : "s",
- total_rems, total_rems == 1 ? "" : "s");
+ files, files == 1 ? "" : "s",
+ total_adds, total_adds == 1 ? "" : "s",
+ total_rems, total_rems == 1 ? "" : "s");
html("</div>\n");
}
diff --git a/source/ui-repolist.c b/source/ui-repolist.c
index 1394048..daf18f5 100644
--- a/source/ui-repolist.c
+++ b/source/ui-repolist.c
@@ -225,7 +225,7 @@ static void print_repo_row(const char *currenturl, int sublevel)
char *repourl;
htmlf("<tr class='repo'><td class='col-name %s'>",
- sublevel ? "sublevel-repo" : "toplevel-repo");
+ sublevel ? "sublevel-repo" : "toplevel-repo");
cgit_summary_link(ctx.repo->name, NULL, NULL, NULL);
html("</td><td class='col-desc'>");
repourl = cgit_repourl(ctx.repo->url);