the repository which powers this website
parsing.c: Remove leading space from committer
This did not really break anything in the past since spaces are ignored when rendering HTML. Remove the preceding space anyway to prevent from potential future problems. Signed-off-by: Lukas Fleischer <[email protected]>
Lukas Fleischer 2014-01-16
parent c01fb69 · commit 2a7dd4b
-rw-r--r--parsing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parsing.c b/parsing.c
index 0062550d..599f61ea 100644
--- a/parsing.c
+++ b/parsing.c
@@ -156,7 +156,7 @@ struct commitinfo *cgit_parse_commit(struct commit *commit)
}
if (p && !prefixcmp(p, "committer ")) {
- p = parse_user(p + 9, &ret->committer, &ret->committer_email,
+ p = parse_user(p + 10, &ret->committer, &ret->committer_email,
&ret->committer_date);
}