summaryrefslogtreecommitdiff
path: root/buff.c
diff options
context:
space:
mode:
Diffstat (limited to 'buff.c')
-rw-r--r--buff.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/buff.c b/buff.c
index 1a358e8..f0ef72d 100644
--- a/buff.c
+++ b/buff.c
@@ -73,10 +73,6 @@ void print_lines(char lineno){
if (lineno)
printf("%d\t", pos);
printf("%s", cur->c);
- if (pos != num) {
- pos += 1;
- cur = cur -> next;
- }
}
int move_to_line(int addr, char print){