diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-09-16 18:09:18 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-09-16 18:09:18 -0400 |
commit | 7fcc504fa689c7cfdd27d7bed10cc46cc81d16d0 (patch) | |
tree | 46a3fb183c6269324700890ec2d1a850c0d2560e /src/nvim/buffer.c | |
parent | fd60b8ee7e2496d08e3aa1166d171e87cb3314b9 (diff) | |
parent | aa66f2487edde49b9a5ba10cd70d706d06a94e25 (diff) | |
download | rneovim-7fcc504fa689c7cfdd27d7bed10cc46cc81d16d0.tar.gz rneovim-7fcc504fa689c7cfdd27d7bed10cc46cc81d16d0.tar.bz2 rneovim-7fcc504fa689c7cfdd27d7bed10cc46cc81d16d0.zip |
Merge pull request #1184 from Shougo/vim-patch-7.4.369
vim-patch:7.4.369
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index 7afa663fe3..11171617ef 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -4425,8 +4425,8 @@ linenr_T buf_delsign( } /* When deleted the last sign needs to redraw the windows to remove the - * sign column. */ - if (buf->b_signlist == NULL) { + * sign column. Not when curwin is NULL (this means we're exiting). */ + if (buf->b_signlist != NULL && curwin != NULL) { redraw_buf_later(buf, NOT_VALID); changed_cline_bef_curs(); } |