diff options
Diffstat (limited to 'src/charset.c')
-rw-r--r-- | src/charset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charset.c b/src/charset.c index d9609f4f43..8d7b61a4a6 100644 --- a/src/charset.c +++ b/src/charset.c @@ -1181,7 +1181,7 @@ win_lbr_chartabsize( ? col == 0 : (s[0] == NUL || s[1] == NUL) && cts->cts_with_trailing))) - && tp->tp_id - 1 < gap->ga_len) + && -tp->tp_id - 1 < gap->ga_len) { char_u *p = ((char_u **)gap->ga_data)[-tp->tp_id - 1]; |