aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2015-08-16 19:50:03 +0200
committerThomas White <taw@bitwiz.org.uk>2015-08-16 19:50:03 +0200
commit1f26293c25e0c788a46305e300023c35af62de1c (patch)
tree6bdb2d24a89ec261eb47814290c5e66c58f33f98
parentb68b17261aa394d0b0c0a7ddd058c987385637ad (diff)
Fix some obvious gremlins
-rw-r--r--src/sc_editor.c4
-rw-r--r--src/sc_interp.c1
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;
}
}
}