author | Lars Hjemli <hjemli@gmail.com> | 2007-05-14 22:22:03 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-05-14 22:22:17 (UTC) |
commit | 6fb7d09fea94b3dd6932469283358cb24f1e7e29 (patch) (unidiff) | |
tree | ef8b1954a585006746bf528962f122d8fb3f597c /ui-shared.c | |
parent | 495e39677326284ea13b2f6d76195d6800c2a450 (diff) | |
download | cgit-6fb7d09fea94b3dd6932469283358cb24f1e7e29.zip cgit-6fb7d09fea94b3dd6932469283358cb24f1e7e29.tar.gz cgit-6fb7d09fea94b3dd6932469283358cb24f1e7e29.tar.bz2 |
ui-shared.c: fix whitespace breakage
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | ui-shared.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ui-shared.c b/ui-shared.c index bca50aa..6f5cf2b 100644 --- a/ui-shared.c +++ b/ui-shared.c | |||
@@ -15,7 +15,7 @@ const char cgit_doctype[] = | |||
15 | static char *http_date(time_t t) | 15 | static char *http_date(time_t t) |
16 | { | 16 | { |
17 | static char day[][4] = | 17 | static char day[][4] = |
18 | {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}; | 18 | {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}; |
19 | static char month[][4] = | 19 | static char month[][4] = |
20 | {"Jan", "Feb", "Mar", "Apr", "May", "Jun", | 20 | {"Jan", "Feb", "Mar", "Apr", "May", "Jun", |
21 | "Jul", "Aug", "Sep", "Oct", "Now", "Dec"}; | 21 | "Jul", "Aug", "Sep", "Oct", "Now", "Dec"}; |
@@ -58,9 +58,9 @@ char *cgit_repourl(const char *reponame) | |||
58 | } | 58 | } |
59 | 59 | ||
60 | char *cgit_pageurl(const char *reponame, const char *pagename, | 60 | char *cgit_pageurl(const char *reponame, const char *pagename, |
61 | const char *query) | 61 | const char *query) |
62 | { | 62 | { |
63 | if (cgit_virtual_root) { | 63 | if (cgit_virtual_root) { |
64 | return fmt("%s/%s/%s/?%s", cgit_virtual_root, reponame, | 64 | return fmt("%s/%s/%s/?%s", cgit_virtual_root, reponame, |
65 | pagename, query); | 65 | pagename, query); |
66 | } else { | 66 | } else { |
@@ -90,5 +90,4 @@ void cgit_print_date(unsigned long secs) | |||
90 | strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", time); | 90 | strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", time); |
91 | html_txt(buf); | 91 | html_txt(buf); |
92 | |||
93 | } | 92 | } |
94 | 93 | ||
@@ -163,5 +162,5 @@ void cgit_print_pageheader(char *title, int show_search) | |||
163 | } | 162 | } |
164 | 163 | ||
165 | void cgit_print_snapshot_start(const char *mimetype, const char *filename, | 164 | void cgit_print_snapshot_start(const char *mimetype, const char *filename, |
166 | struct cacheitem *item) | 165 | struct cacheitem *item) |
167 | { | 166 | { |