summaryrefslogtreecommitdiffstats
path: root/doc/StringObj.3
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-04-10 13:14:38 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-04-10 13:14:38 (GMT)
commiteec238cfa6822ad7a80ba6e1678b59e8b01863e6 (patch)
tree8a7f6f504f880cd0dc4869b6bacd1bda99062dbe /doc/StringObj.3
parent6626a523f72667a745e0137510e8b65b4984bed0 (diff)
downloadtcl-eec238cfa6822ad7a80ba6e1678b59e8b01863e6.zip
tcl-eec238cfa6822ad7a80ba6e1678b59e8b01863e6.tar.gz
tcl-eec238cfa6822ad7a80ba6e1678b59e8b01863e6.tar.bz2
Fix for immediate problem in [Bug 2089279].
Diffstat (limited to 'doc/StringObj.3')
-rw-r--r--doc/StringObj.36
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/StringObj.3 b/doc/StringObj.3
index f8e6552..8091e2b 100644
--- a/doc/StringObj.3
+++ b/doc/StringObj.3
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: StringObj.3,v 1.30 2008/12/18 21:23:47 dkf Exp $
+'\" RCS: @(#) $Id: StringObj.3,v 1.31 2009/04/10 13:14:38 dkf Exp $
'\"
.so man.macros
.TH Tcl_StringObj 3 8.1 Tcl "Tcl Library Procedures"
@@ -321,10 +321,10 @@ assumption that C code is more likely to know how many bytes it is
passing around than the number of encoded characters those bytes happen
to represent. The variable number of arguments passed in should be of
the types that would be suitable for passing to \fBsprintf\fR. Note in
-this example usage, \fIx\fR is of type \fBlong\fR.
+this example usage, \fIx\fR is of type \fBint\fR.
.PP
.CS
-long x = 5;
+int x = 5;
Tcl_Obj *objPtr = \fBTcl_ObjPrintf\fR("Value is %d", x);
.CE
.PP