vim-patch:8.1.0826: too many #ifdefs

Problem:    Too many #ifdefs.
Solution:   Graduate FEAT_VIRTUALEDIT.  Adds about 10Kbyte to the code.
29ddebef40
This commit is contained in:
Jan Edmund Lazo
2019-03-08 03:03:47 -05:00
parent 8bd194f98a
commit e3d9945f7f
6 changed files with 6 additions and 7 deletions

View File

@@ -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);