From af3e3bbc80307aae36262772a76dd342a1c07bb8 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 28 Oct 2015 07:50:14 +0100 Subject: Need to do recursive_wrap() the first time --- src/sc_editor.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/sc_editor.c b/src/sc_editor.c index d77525c..845275e 100644 --- a/src/sc_editor.c +++ b/src/sc_editor.c @@ -103,6 +103,7 @@ static gboolean resize_sig(GtkWidget *widget, GdkEventConfigure *event, e->top = interp_and_shape(e->scblocks, e->stylesheets, e->cbl, e->is, ISZ_EDITOR, 0, cr, event->width, 0.0); + recursive_wrap(e->top, e->is, ISZ_EDITOR); cairo_destroy(cr); } -- cgit v1.2.3