mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fix(optionstr.c): incorrect use of curbuf/curwin
This commit is contained in:
parent
9fdc4cdb64
commit
804c828e68
@ -2086,8 +2086,8 @@ const char *did_set_string_option(buf_T *buf, win_T *win, int opt_idx, char **va
|
|||||||
.os_restore_chartab = false,
|
.os_restore_chartab = false,
|
||||||
.os_errbuf = errbuf,
|
.os_errbuf = errbuf,
|
||||||
.os_errbuflen = errbuflen,
|
.os_errbuflen = errbuflen,
|
||||||
.os_win = curwin,
|
.os_win = win,
|
||||||
.os_buf = curbuf,
|
.os_buf = buf,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Disallow changing some options from secure mode
|
// Disallow changing some options from secure mode
|
||||||
|
Loading…
Reference in New Issue
Block a user