fix(optionstr.c): incorrect use of curbuf/curwin

This commit is contained in:
Lewis Russell 2023-07-12 14:21:27 +01:00
parent 9fdc4cdb64
commit 804c828e68

View File

@ -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_errbuf = errbuf,
.os_errbuflen = errbuflen,
.os_win = curwin,
.os_buf = curbuf,
.os_win = win,
.os_buf = buf,
};
// Disallow changing some options from secure mode