summaryrefslogtreecommitdiff
path: root/buff.c
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2018-04-20 10:49:23 +0100
committerKatolaZ <katolaz@freaknet.org>2018-04-20 10:49:23 +0100
commit99c9a9e20f80f5d04dfddaf19e18d1179c65c91e (patch)
tree60e685564a2bde6958de342a1ff36fe8b120c4a1 /buff.c
parentcae118e406151da7dc1008045b9908ced76526d9 (diff)
Fixed positioning on 'p' and 'n'
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){