summaryrefslogtreecommitdiffstats
path: root/generic/tkText.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-10 07:39:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-10 07:39:03 (GMT)
commitcbd1d502879113bb4e0a5dee3a9f2eef2214332a (patch)
treeb98b812fdf3e1233c25dc8dff7c331b07a34b1f0 /generic/tkText.h
parentce0f0f80b78d67262dfc3270f6b26a042f19141d (diff)
downloadtk-cbd1d502879113bb4e0a5dee3a9f2eef2214332a.zip
tk-cbd1d502879113bb4e0a5dee3a9f2eef2214332a.tar.gz
tk-cbd1d502879113bb4e0a5dee3a9f2eef2214332a.tar.bz2
More usages for TKFLEXARRAY
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 973ae74..e9e6303 100644
--- a/generic/tkText.h
+++ b/generic/tkText.h
@@ -489,7 +489,7 @@ typedef struct TkTextTabArray {
double tabIncrement; /* The accurate fractional pixel increment
* between interpolated tabs we have to create
* when we exceed numTabs. */
- TkTextTab tabs[1]; /* Array of tabs. The actual size will be
+ TkTextTab tabs[TKFLEXARRAY];/* Array of tabs. The actual size will be
* numTabs. THIS FIELD MUST BE THE LAST IN THE
* STRUCTURE. */
} TkTextTabArray;