summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
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':