summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.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 /win/tkWinWm.c
parent0d9815b244b0073e85619a33eeed5041def2dc5b (diff)
parentdb31b9f1cedb54fbdc52442ea1c21bf06c556b68 (diff)
downloadtk-4a8b7efd011cd0b919533728fcb8d6697bafd271.zip
tk-4a8b7efd011cd0b919533728fcb8d6697bafd271.tar.gz
tk-4a8b7efd011cd0b919533728fcb8d6697bafd271.tar.bz2
Merge 8.6
Diffstat (limited to 'win/tkWinWm.c')
-rw-r--r--win/tkWinWm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c
index 9d3902a..324511a 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -58,7 +58,7 @@ typedef struct ProtocolHandler {
* same top-level window, or NULL for end of
* list. */
Tcl_Interp *interp; /* Interpreter in which to invoke command. */
- char command[1]; /* Tcl command to invoke when a client message
+ char command[TKFLEXARRAY]; /* Tcl command to invoke when a client message
* for this protocol arrives. The actual size
* of the structure varies to accommodate the
* needs of the actual command. THIS MUST BE