Import Tk 8.6.11
This commit is contained in:
@@ -168,7 +168,7 @@ typedef struct TkTextSegment {
|
||||
int size; /* Size of this segment (# of bytes of index
|
||||
* space it occupies). */
|
||||
union {
|
||||
char chars[2]; /* Characters that make up character info.
|
||||
char chars[TKFLEXARRAY]; /* Characters that make up character info.
|
||||
* Actual length varies to hold as many
|
||||
* characters as needed.*/
|
||||
TkTextToggle toggle; /* Information about tag toggle. */
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user