diff options
author | Thomas White <taw@bitwiz.me.uk> | 2018-03-28 16:43:49 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2018-03-28 16:43:49 +0200 |
commit | b968323b209cc7048ccad19e99382a770fb85f2f (patch) | |
tree | 27fd40c3cc611dd9d4f5ee4069a760eb81ec9b24 | |
parent | 6cb58d80203fab0f58e8e0863d6c17f9fbaf6ea3 (diff) |
Set frame->scblocks one level higher for top frame in SCEditor
This makes it behave the same as when a new frame is created by \f
-rw-r--r-- | src/sc_editor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c index 06e7688..27aeb3a 100644 --- a/src/sc_editor.c +++ b/src/sc_editor.c @@ -199,6 +199,7 @@ static gboolean resize_sig(GtkWidget *widget, GdkEventConfigure *event, e->stylesheets, e->cbl, e->is, e->slidenum, pc, w, h, e->lang); + e->top->scblocks = e->scblocks; recursive_wrap(e->top, pc); } |