summaryrefslogtreecommitdiffstats
path: root/generic/tkText.h
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2022-11-09 21:40:51 (GMT)
committerfvogel <fvogelnew1@free.fr>2022-11-09 21:40:51 (GMT)
commit16a63be615ba1ff0eddd22b777c041361eb7c0ef (patch)
treeeefd6674a199a676740186e5e0f4f12770f2b424 /generic/tkText.h
parent3dbd737f1811d01dcff8791b15a8cf9dd1bc8735 (diff)
parent104947147225fa0d71faf4e8769567377370fb6f (diff)
downloadtk-16a63be615ba1ff0eddd22b777c041361eb7c0ef.zip
tk-16a63be615ba1ff0eddd22b777c041361eb7c0ef.tar.gz
tk-16a63be615ba1ff0eddd22b777c041361eb7c0ef.tar.bz2
merge 8.6
Diffstat (limited to 'generic/tkText.h')
-rw-r--r--generic/tkText.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkText.h b/generic/tkText.h
index 9898462..d3c1cc9 100644
--- a/generic/tkText.h
+++ b/generic/tkText.h
@@ -168,7 +168,7 @@ typedef struct TkTextSegment {
int size; /* Size of this segment (# of bytes of index
* space it occupies). */
union {
- char chars[TKFLEXARRAY]; /* Characters that make up character info.
+ char chars[TCL_UTF_MAX]; /* Characters that make up character info.
* Actual length varies to hold as many
* characters as needed.*/
TkTextToggle toggle; /* Information about tag toggle. */