diff options
author | fvogel <fvogelnew1@free.fr> | 2023-01-12 00:31:57 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2023-01-12 00:31:57 (GMT) |
commit | 2d4a3f8ce9a84fd47a0b8586f5b2f62c282a3c95 (patch) | |
tree | b01d07a4ec694026a9fea402ccfa6fa95a3e152a /unix | |
parent | 91c03f8f7b13c7f0c997749c6808cd01db9807a3 (diff) | |
download | tk-2d4a3f8ce9a84fd47a0b8586f5b2f62c282a3c95.zip tk-2d4a3f8ce9a84fd47a0b8586f5b2f62c282a3c95.tar.gz tk-2d4a3f8ce9a84fd47a0b8586f5b2f62c282a3c95.tar.bz2 |
Fix mistake.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tkUnixSend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixSend.c b/unix/tkUnixSend.c index bd33576..72b2b1e 100644 --- a/unix/tkUnixSend.c +++ b/unix/tkUnixSend.c @@ -875,7 +875,7 @@ Tk_SetAppName( Tcl_DStringSetLength(&dString, offset+TCL_INTEGER_SPACE); actualName = Tcl_DStringValue(&dString); } - snprintf(Tcl_DStringValue(&dString) + offset, sizeof(Tcl_DStringValue(&dString)) - offset, "%d", i); + snprintf(Tcl_DStringValue(&dString) + offset, TCL_INTEGER_SPACE, "%d", i); } w = RegFindName(regPtr, actualName); if (w == None) { |