diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-03-08 12:23:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-08 12:23:53 +0100 |
commit | 0355c1ed9c481d4ad3bf24887e0af869834e1b40 (patch) | |
tree | 514a6d13225e96d17dbc36f0a8d8c1991acacc3c /src/nvim/buffer.c | |
parent | 5f84b1dc4154ea8def87b6113fa9b9ed058d83d2 (diff) | |
parent | e3d9945f7fd773b69844460153d8481790ff1f30 (diff) | |
download | rneovim-0355c1ed9c481d4ad3bf24887e0af869834e1b40.tar.gz rneovim-0355c1ed9c481d4ad3bf24887e0af869834e1b40.tar.bz2 rneovim-0355c1ed9c481d4ad3bf24887e0af869834e1b40.zip |
Merge #9695 'vim-patch:8.1.{739,826,998}'
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index 6e4e7afeb2..8cb4e32815 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -2446,7 +2446,7 @@ void get_winopts(buf_T *buf) */ pos_T *buflist_findfpos(buf_T *buf) { - static pos_T no_position = INIT_POS_T(1, 0, 0); + static pos_T no_position = { 1, 0, 0 }; wininfo_T *wip = find_wininfo(buf, FALSE); return (wip == NULL) ? &no_position : &(wip->wi_fpos); |