commit 33ac54b1a44141c4e251beac3c8344dae3150754
parent e3ad1c0988613e24e7b618e17fb1508ee8822cfe
Author: Rafael Garcia <rafael.garcia.gallego@gmail.com>
Date: Thu, 6 Oct 2011 12:55:35 +0200
Remove 2 unneded gotos
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/sandy.c b/sandy.c
@@ -747,7 +747,6 @@ i_edit(void) {
oldsel.l=oldcur.l=fstline;
oldsel.o=oldcur.o=0;
- edit_top:
while(statusflags & S_Running) {
if(fsel.l != oldsel.l) i_dirtyrange(oldsel.l, fsel.l);
else if(fsel.o != oldsel.o) fsel.l->dirty=TRUE;
@@ -791,7 +790,7 @@ i_edit(void) {
break;
}
}
- goto edit_top;
+ continue;
}
/* Mundane characters are processed later */
@@ -814,7 +813,7 @@ i_edit(void) {
break;
}
}
- goto edit_top;
+ continue;
}
statusflags&=~(S_InsEsc);
if(t_rw()) f_insert(&(const Arg){ .v = c });