diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-07-25 18:13:54 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-25 18:13:54 +0100 |
commit | 7f9969c559b51446632ac7e8f76cde07e7d0078d (patch) | |
tree | 77868549433487dbadb8833a1b6a63d522adaa72 /src/beval.c | |
parent | b529cfbd04c02e31cfa88f2c8d88b5ff532d4f7d (diff) |
patch 9.0.0067: cannot show virtual textv9.0.0067
Problem: Cannot show virtual text.
Solution: Initial changes for virtual text support, using text properties.
Diffstat (limited to 'src/beval.c')
-rw-r--r-- | src/beval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/beval.c b/src/beval.c index 4b89af3667..79ffff5f4d 100644 --- a/src/beval.c +++ b/src/beval.c @@ -47,7 +47,7 @@ find_word_under_cursor( { // Not past end of the file. lbuf = ml_get_buf(wp->w_buffer, lnum, FALSE); - if (col <= win_linetabsize(wp, lbuf, (colnr_T)MAXCOL)) + if (col <= win_linetabsize(wp, lnum, lbuf, (colnr_T)MAXCOL)) { // Not past end of line. if (getword) |