diff options
Diffstat (limited to 'generic/tclVar.c')
-rw-r--r-- | generic/tclVar.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/generic/tclVar.c b/generic/tclVar.c index ed6ec8d..5cef499 100644 --- a/generic/tclVar.c +++ b/generic/tclVar.c @@ -15,7 +15,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclVar.c,v 1.92 2004/09/29 22:17:28 dkf Exp $ + * RCS: @(#) $Id: tclVar.c,v 1.93 2004/10/01 12:45:20 dkf Exp $ */ #ifdef STDC_HEADERS @@ -3877,7 +3877,7 @@ Tcl_UpvarObjCmd(dummy, interp, objc, objv) Tcl_Obj *CONST objv[]; /* Argument objects. */ { CallFrame *framePtr; - char *frameSpec, *localName; + char *localName; int result; if (objc < 3) { @@ -3892,8 +3892,7 @@ Tcl_UpvarObjCmd(dummy, interp, objc, objv) * linked to. */ - frameSpec = TclGetString(objv[1]); - result = TclGetFrame(interp, frameSpec, &framePtr); + result = TclObjGetFrame(interp, objv[1], &framePtr); if (result == -1) { return TCL_ERROR; } |