summaryrefslogtreecommitdiff
path: root/startmode.c
diff options
context:
space:
mode:
Diffstat (limited to 'startmode.c')
-rw-r--r--startmode.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/startmode.c b/startmode.c
index 3c5b606..9744b0b 100644
--- a/startmode.c
+++ b/startmode.c
@@ -73,11 +73,13 @@ int startmode(char filename[]) {
case 'p':
char *line;
- int ret = GET_LINE(filename, focus, &line);
+ size_t start;
+ int ret = GET_LINE(filename, focus, &line, &start);
if (ret == 1) {
return EXIT_FAILURE;
}
printf("%s", line);
+ //printf("%ld", start);
free(line);
break;