Unidiff1 files changed, 1 insertions, 0 deletions
|
diff --git a/ui-log.c b/ui-log.c index e1d324d..60c9269 100644 --- a/ ui-log.c+++ b/ ui-log.c |
|
@@ -1,22 +1,23 @@ |
1 | /* ui-log.c: functions for log output |
1 | /* ui-log.c: functions for log output |
2 | * |
2 | * |
3 | * Copyright (C) 2006 Lars Hjemli |
3 | * Copyright (C) 2006 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 | #include "html.h" |
10 | #include "html.h" |
| |
11 | #include "ui-shared.h" |
11 | |
12 | |
12 | int files, add_lines, rem_lines; |
13 | int files, add_lines, rem_lines; |
13 | |
14 | |
14 | void count_lines(char *line, int size) |
15 | void count_lines(char *line, int size) |
15 | { |
16 | { |
16 | if (size <= 0) |
17 | if (size <= 0) |
17 | return; |
18 | return; |
18 | |
19 | |
19 | if (line[0] == '+') |
20 | if (line[0] == '+') |
20 | add_lines++; |
21 | add_lines++; |
21 | |
22 | |
22 | else if (line[0] == '-') |
23 | else if (line[0] == '-') |
|