From e65fc4b791951f31d11510b3e214acb42b91730d Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Wed, 30 May 2018 06:55:28 +0100 Subject: delete_lines refactored --- main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main.c') 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': -- cgit v1.2.3