summaryrefslogtreecommitdiffstats
path: root/src/charset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/charset.c')
-rw-r--r--src/charset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charset.c b/src/charset.c
index a8c20f9eb3..d8feb4eadc 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -1196,7 +1196,7 @@ win_lbr_chartabsize(
|| (tp->tp_col == MAXCOL
&& ((tp->tp_flags & TP_FLAG_ALIGN_ABOVE)
? col == 0
- : (s[0] == NUL || s[1] == NUL)
+ : (s[0] == NUL || s[charlen] == NUL)
&& cts->cts_with_trailing)))
&& -tp->tp_id - 1 < gap->ga_len)
{