summaryrefslogtreecommitdiff
path: root/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'common.c')
-rw-r--r--common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.c b/common.c
index c0e0af4..fbc9ae2 100644
--- a/common.c
+++ b/common.c
@@ -7,7 +7,7 @@ indicate_file_area(FILE* fd, size_t line, size_t column, size_t span) {
char margin[] = " ";
/* FIXME use proper line counting, not this hack */
char buf[1024];
- char *line_start = &buf;
+ char *line_start = buf;
rewind(fd);
for (; line; line--) {