aboutsummaryrefslogtreecommitdiff
path: root/files.c
diff options
context:
space:
mode:
Diffstat (limited to 'files.c')
-rw-r--r--files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/files.c b/files.c
index 1bde7b4..4cb00cc 100644
--- a/files.c
+++ b/files.c
@@ -224,7 +224,7 @@ void fprint_line(FILE *dest, file_t *f, const char *start, const char *end, cons
linenum,
(int)charnum - 1, line,
(int)(end - &line[charnum-1]), &line[charnum-1],
- (int)(eol - end - 1), end);
+ (int)(eol - end), end);
fprintf(dest, " \033[34;1m");
const char *p = line;
for (; p < start; ++p) (void)fputc(*p == '\t' ? '\t' : ' ', dest);