diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2014-05-29 21:10:33 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2014-05-29 21:10:33 +0000 |
| commit | 7cd5ec40cf02276c14dca2ef0b35e7e890fd8144 (patch) | |
| tree | 868a27df5b52b0cd857da6d764fd6006af0da2cf /sys/dev/vt | |
| parent | 2f308a343f533308059f6a78d1e2908129eb2f16 (diff) | |
Notes
Diffstat (limited to 'sys/dev/vt')
| -rw-r--r-- | sys/dev/vt/vt_buf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/vt/vt_buf.c b/sys/dev/vt/vt_buf.c index 7adce9892e0c..d8602f806323 100644 --- a/sys/dev/vt/vt_buf.c +++ b/sys/dev/vt/vt_buf.c @@ -496,6 +496,9 @@ vtbuf_grow(struct vt_buf *vb, const term_pos_t *p, int history_size) /* Deallocate old buffer. */ free(old, M_VTBUF); free(oldrows, M_VTBUF); + } else { + /* Just update the size. */ + vb->vb_scr_size = *p; } } |
