summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-10 08:56:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-10 08:56:18 (GMT)
commit0e5885d7fab885a2ef6ee3d709a6745b0bf585fb (patch)
tree96c71f0a37885d5b8de3ae845b087ba300a2c9de /win
parentc0cbf2de196d27643e7267a53c37d4bf4810ffef (diff)
downloadtk-0e5885d7fab885a2ef6ee3d709a6745b0bf585fb.zip
tk-0e5885d7fab885a2ef6ee3d709a6745b0bf585fb.tar.gz
tk-0e5885d7fab885a2ef6ee3d709a6745b0bf585fb.tar.bz2
More use of TCL_UNUSED() and C++-safe typecasts. Use Tk_Offset() in stead of sizeof() when using flexible arrays
Diffstat (limited to 'win')
-rw-r--r--win/tkWinWm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c
index 923a58f..ff3f07f 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -57,7 +57,7 @@ typedef struct ProtocolHandler {
/* Next in list of protocol handlers for the
* same top-level window, or NULL for end of
* list. */
- Tcl_Interp *interp; /* Interpreter in which to invoke command. */
+ Tcl_Interp *interp; /* Interpreter in which to invoke command. */
char command[1]; /* Tcl command to invoke when a client message
* for this protocol arrives. The actual size
* of the structure varies to accommodate the