summaryrefslogtreecommitdiffstats
path: root/generic/tkTextDisp.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-11 08:56:31 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-11 08:56:31 (GMT)
commit4a8b7efd011cd0b919533728fcb8d6697bafd271 (patch)
tree10068d4fd2b33288abf2b3ea6339b4b86f25819b /generic/tkTextDisp.c
parent0d9815b244b0073e85619a33eeed5041def2dc5b (diff)
parentdb31b9f1cedb54fbdc52442ea1c21bf06c556b68 (diff)
downloadtk-4a8b7efd011cd0b919533728fcb8d6697bafd271.zip
tk-4a8b7efd011cd0b919533728fcb8d6697bafd271.tar.gz
tk-4a8b7efd011cd0b919533728fcb8d6697bafd271.tar.bz2
Merge 8.6
Diffstat (limited to 'generic/tkTextDisp.c')
-rw-r--r--generic/tkTextDisp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c
index 61b0a8b..a28f606 100644
--- a/generic/tkTextDisp.c
+++ b/generic/tkTextDisp.c
@@ -444,7 +444,7 @@ typedef struct TextDInfo {
typedef struct CharInfo {
int numBytes; /* Number of bytes to display. */
- char chars[1]; /* UTF characters to display.
+ char chars[TKFLEXARRAY]; /* UTF characters to display.
* Allocated as large as necessary. THIS MUST BE THE LAST
* FIELD IN THE STRUCTURE. */
} CharInfo;