diff options
author | dkf <dkf@noemail.net> | 2012-07-03 14:52:55 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2012-07-03 14:52:55 (GMT) |
commit | 55bca015216b30f90bdf9a9eb01a4f27b806d052 (patch) | |
tree | 84118ecaa9257d1f2e99228c0ae52bc98d574b97 /generic/tclProc.c | |
parent | 8b683092eb10a30155e93fc7f0a590b8c4761b19 (diff) | |
download | tcl-55bca015216b30f90bdf9a9eb01a4f27b806d052.zip tcl-55bca015216b30f90bdf9a9eb01a4f27b806d052.tar.gz tcl-55bca015216b30f90bdf9a9eb01a4f27b806d052.tar.bz2 |
Factor out a number of common patterns of use of Tcl_DStringAppend.
FossilOrigin-Name: 4dd736c95fc5e333c574e4d23aeccb7e0bdd41ae
Diffstat (limited to 'generic/tclProc.c')
-rw-r--r-- | generic/tclProc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c index 7b0af3a..537008c 100644 --- a/generic/tclProc.c +++ b/generic/tclProc.c @@ -194,7 +194,7 @@ Tcl_ProcObjCmd( Tcl_DStringInit(&ds); if (nsPtr != iPtr->globalNsPtr) { Tcl_DStringAppend(&ds, nsPtr->fullName, -1); - Tcl_DStringAppend(&ds, "::", 2); + TclDStringAppendLiteral(&ds, "::"); } Tcl_DStringAppend(&ds, procName, -1); |