diff options
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) { |