summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixSend.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2023-01-12 00:31:57 (GMT)
committerfvogel <fvogelnew1@free.fr>2023-01-12 00:31:57 (GMT)
commit2d4a3f8ce9a84fd47a0b8586f5b2f62c282a3c95 (patch)
treeb01d07a4ec694026a9fea402ccfa6fa95a3e152a /unix/tkUnixSend.c
parent91c03f8f7b13c7f0c997749c6808cd01db9807a3 (diff)
downloadtk-2d4a3f8ce9a84fd47a0b8586f5b2f62c282a3c95.zip
tk-2d4a3f8ce9a84fd47a0b8586f5b2f62c282a3c95.tar.gz
tk-2d4a3f8ce9a84fd47a0b8586f5b2f62c282a3c95.tar.bz2
Fix mistake.
Diffstat (limited to 'unix/tkUnixSend.c')
-rw-r--r--unix/tkUnixSend.c2
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) {