summaryrefslogtreecommitdiffabout
path: root/ui-tag.c
Unidiff
Diffstat (limited to 'ui-tag.c') (more/less context) (show whitespace changes)
-rw-r--r--ui-tag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-tag.c b/ui-tag.c
index 6d761f3..2998d02 100644
--- a/ui-tag.c
+++ b/ui-tag.c
@@ -1,22 +1,22 @@
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 11
12static void print_tag_content(char *buf) 12static void print_tag_content(char *buf)
13{ 13{
14 char *p; 14 char *p;
15 15
16 if (!buf) 16 if (!buf)
17 return; 17 return;
18 18
19 html("<div class='commit-subject'>"); 19 html("<div class='commit-subject'>");
20 p = strchr(buf, '\n'); 20 p = strchr(buf, '\n');
21 if (p) 21 if (p)
22 *p = '\0'; 22 *p = '\0';