diff options
author | Luuk van Baal <luukvbaal@gmail.com> | 2023-05-27 22:22:10 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-05-27 22:22:10 +0100 |
commit | 30805a1aba0067cf0087f9a0e5c184562433e2e7 (patch) | |
tree | fb230c3a843711b3cb0369ef275f3377a8154c09 /src/proto/drawline.pro | |
parent | 1ba0b9e36f36926a7675b31efeda7d3e495c9157 (diff) |
patch 9.0.1585: weird use of static variables for spell checkingv9.0.1585
Problem: Weird use of static variables for spell checking.
Solution: Move the variables to a structure and pass them from win_update()
to win_line(). (Luuk van Baal, closes #12448)
Diffstat (limited to 'src/proto/drawline.pro')
-rw-r--r-- | src/proto/drawline.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/drawline.pro b/src/proto/drawline.pro index fc6fb88417..141ca1b9c2 100644 --- a/src/proto/drawline.pro +++ b/src/proto/drawline.pro @@ -1,4 +1,4 @@ /* drawline.c */ int text_prop_position(win_T *wp, textprop_T *tp, int vcol, int scr_col, int *n_extra, char_u **p_extra, int *n_attr, int *n_attr_skip, int do_skip); -int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, int nochange, int number_only); +int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, int number_only, spellvars_T *spv); /* vim: set ft=c : */ |