Unidiff1 files changed, 2 insertions, 1 deletions
|
diff --git a/ui-tag.c b/ui-tag.c index 6d761f3..ab2c66d 100644 --- a/ ui-tag.c+++ b/ ui-tag.c |
|
@@ -1,22 +1,23 @@ |
1 | /* ui-tag.c: display a tag |
1 | /* ui-tag.c: display a tag |
2 | * |
2 | * |
3 | * Copyright (C) 2007 Lars Hjemli |
3 | * Copyright (C) 2007 Lars Hjemli |
4 | * |
4 | * |
5 | * Licensed under GNU General Public License v2 |
5 | * Licensed under GNU General Public License v2 |
6 | * (see COPYING for full license text) |
6 | * (see COPYING for full license text) |
7 | */ |
7 | */ |
8 | |
8 | |
9 | #include "cgit.h" |
9 | #include "cgit.h" |
10 | |
10 | #include "html.h" |
| |
11 | #include "ui-shared.h" |
11 | |
12 | |
12 | static void print_tag_content(char *buf) |
13 | static void print_tag_content(char *buf) |
13 | { |
14 | { |
14 | char *p; |
15 | char *p; |
15 | |
16 | |
16 | if (!buf) |
17 | if (!buf) |
17 | return; |
18 | return; |
18 | |
19 | |
19 | html("<div class='commit-subject'>"); |
20 | html("<div class='commit-subject'>"); |
20 | p = strchr(buf, '\n'); |
21 | p = strchr(buf, '\n'); |
21 | if (p) |
22 | if (p) |
22 | *p = '\0'; |
23 | *p = '\0'; |
|