summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2018-05-30 06:55:28 +0100
committerKatolaZ <katolaz@freaknet.org>2018-05-30 06:55:28 +0100
commite65fc4b791951f31d11510b3e214acb42b91730d (patch)
tree1680a03a7797c7d83b73b12772e3d7bab2e41d81 /main.c
parent652ef404582555d9f7fca855424108a57cdea3ad (diff)
delete_lines refactoredrefactor
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 5dce812..d22a028 100644
--- a/main.c
+++ b/main.c
@@ -211,6 +211,9 @@ void main_loop(){
if (ret ==-1 )
addr2 = 1, addr1=num;
CHECKADDR;
+ if (addr1 == 0){
+ E; break;
+ }
delete_lines();
break;
case 'e':