aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2015-10-23 15:30:27 +0100
committerThomas White <taw@bitwiz.org.uk>2015-10-23 15:30:27 +0100
commit05fa0c9cc8a5df00f70859095634b33ce6449e97 (patch)
tree32f3d292f7f7d59582906fddeae0280af2c7f0c0
parent0c97dcc9968391ef824af8f99981580af3e8224a (diff)
Update height after re-wrapping from update_local()
-rw-r--r--src/sc_editor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c
index c498a69..9fcf457 100644
--- a/src/sc_editor.c
+++ b/src/sc_editor.c
@@ -745,6 +745,7 @@ static void update_local(SCEditor *e, struct frame *fr, int line, int bn)
/* Wrap the paragraph again */
wrap_contents(fr); /* FIXME: Only the current paragraph */
+ update_size(e);
sc_editor_redraw(e);
}