diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-11-18 14:07:20 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-11-18 14:07:20 +0000 |
commit | 0c34d562647f029faca40f7733ccfb7b5377672b (patch) | |
tree | e9487c56c78625dc5047d67607caea7e3f6189d0 /src/proto/misc2.pro | |
parent | 81ba26e9de24ca6b1c05b6ec03e53b21793f1a4b (diff) |
patch 9.0.0901: setting w_leftcol and handling side effects is confusingv9.0.0901
Problem: Setting w_leftcol and handling side effects is confusing.
Solution: Use a function to set w_leftcol() and handle side effects.
Diffstat (limited to 'src/proto/misc2.pro')
-rw-r--r-- | src/proto/misc2.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/misc2.pro b/src/proto/misc2.pro index 3d3a5a604a..f596ffafaf 100644 --- a/src/proto/misc2.pro +++ b/src/proto/misc2.pro @@ -19,7 +19,7 @@ void check_cursor_col_win(win_T *win); void check_cursor(void); void check_visual_pos(void); void adjust_cursor_col(void); -int leftcol_changed(void); +int set_leftcol(colnr_T leftcol); int copy_option_part(char_u **option, char_u *buf, int maxlen, char *sep_chars); int vim_isspace(int x); int simplify_key(int key, int *modifiers); |