summaryrefslogtreecommitdiffstats
path: root/generic/tkEntry.h
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2023-01-18 20:23:38 (GMT)
committerfvogel <fvogelnew1@free.fr>2023-01-18 20:23:38 (GMT)
commite1fdc1e995e1e01172159c960f7fe8d611cfaf64 (patch)
tree66f5ec6ffcc6e3d649cc3d98b77882fbe92807e6 /generic/tkEntry.h
parentf413e249b3c0711dbefa5521ed2cc26c5bd20968 (diff)
parentbc9027416eca9c0e52af3a412e4e012bc2495511 (diff)
downloadtk-e1fdc1e995e1e01172159c960f7fe8d611cfaf64.zip
tk-e1fdc1e995e1e01172159c960f7fe8d611cfaf64.tar.gz
tk-e1fdc1e995e1e01172159c960f7fe8d611cfaf64.tar.bz2
Merge core-8-6-branch: Eradicate uses of sprintf because it triggers deprecation warning on macOS Ventura. Resolve conflicts. Remove sprintf calls specific to the main branch.
Diffstat (limited to 'generic/tkEntry.h')
-rw-r--r--generic/tkEntry.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkEntry.h b/generic/tkEntry.h
index fd71282..fbebdaa 100644
--- a/generic/tkEntry.h
+++ b/generic/tkEntry.h
@@ -230,11 +230,11 @@ typedef struct {
* multiple of this value. */
char *formatBuf; /* string into which to format value.
* Malloc'ed. */
- char *reqFormat; /* Sprintf conversion specifier used for the
+ char *reqFormat; /* Snprintf conversion specifier used for the
* value that the users requests. Malloc'ed */
- char *valueFormat; /* Sprintf conversion specifier used for the
+ char *valueFormat; /* Snprintf conversion specifier used for the
* value. */
- char digitFormat[16]; /* Sprintf conversion specifier computed from
+ char digitFormat[16]; /* Snprintf conversion specifier computed from
* digits and other information; used for the
* value. */