diff options
author | Thomas White <taw@bitwiz.org.uk> | 2016-03-28 17:36:33 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2016-03-28 17:36:33 +0200 |
commit | 10b73d26ba94ead1021106df4e9886335d28eb7b (patch) | |
tree | 138eb5f274f8a6c46089fcf7a7f51a03affc5bb8 /src/sc_editor.c | |
parent | 13ab84211488aa422c43756737664dec62bebb90 (diff) |
Fixed flowed height (and reduce spaces between paragraphs)
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r-- | src/sc_editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c index 9b81980..1658122 100644 --- a/src/sc_editor.c +++ b/src/sc_editor.c @@ -98,7 +98,7 @@ static void update_size(SCEditor *e) { if ( e->flow ) { e->w = e->top->w; - e->h = total_height(e->top); + e->h = total_height(e->top) + e->top->pad_t + e->top->pad_b; e->log_w = e->w; e->log_h = e->h; e->top->h = e->h; |