diff options
-rw-r--r-- | generic/tkTextDisp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c index e3fc5c9..6d7820a 100644 --- a/generic/tkTextDisp.c +++ b/generic/tkTextDisp.c @@ -7611,6 +7611,9 @@ TkTextCharLayoutProc( * next line are allocated to the current line. This gives * the effect of trimming white spaces that would otherwise * be seen at the beginning of wrapped lines. + * Note that testing for '\t' is useless here because the + * chunk always includes at most one trailing \t, see + * LayoutDLine. */ bytesThatFit++; |