From 1f26293c25e0c788a46305e300023c35af62de1c Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 16 Aug 2015 19:50:03 +0200 Subject: Fix some obvious gremlins --- src/sc_editor.c | 4 ++-- src/sc_interp.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sc_editor.c b/src/sc_editor.c index 180c70f..be36922 100644 --- a/src/sc_editor.c +++ b/src/sc_editor.c @@ -614,8 +614,8 @@ static void do_backspace(struct frame *fr, SCEditor *e) // } while ( (scbl != fbox->scblock) && (scbl != NULL) ); full_rerender(e); /* FIXME: No need for full */ - fixup_cursor(e); - sc_editor_redraw(e); + //fixup_cursor(e); + //sc_editor_redraw(e); } diff --git a/src/sc_interp.c b/src/sc_interp.c index d820516..7edae0c 100644 --- a/src/sc_interp.c +++ b/src/sc_interp.c @@ -867,6 +867,7 @@ static void exec_macro(SCBlock *bl, SCInterpreter *scin, SCBlock *child) scin->state[scin->j].macro_contents = child; sc_interp_add_blocks(scin, st->macros[i].bl); sc_interp_restore(scin); + break; } } } -- cgit v1.2.3