Changeset 4823 for nanovis/trunk/Command.cpp
- Timestamp:
- Dec 7, 2014, 6:17:26 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nanovis/trunk/Command.cpp
r4822 r4823 166 166 #endif 167 167 lastCmdStatus = TCL_OK; 168 result = Tcl_EvalEx(interp, Tcl_DStringValue(dsPtr), 169 Tcl_DStringLength(dsPtr), 168 result = Tcl_EvalEx(interp, Tcl_DStringValue(dsPtr), 169 Tcl_DStringLength(dsPtr), 170 170 TCL_EVAL_DIRECT | TCL_EVAL_GLOBAL); 171 171 Tcl_DStringSetLength(dsPtr, 0); … … 353 353 * TCL_ERROR to indicate an error. 354 354 */ 355 int356 nv::GetVolumeFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr, Volume **volPtrPtr)355 static int 356 GetVolumeFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr, Volume **volPtrPtr) 357 357 { 358 358 const char *string = Tcl_GetString(objPtr); … … 1363 1363 1364 1364 char info[1024]; 1365 // FIXME: strlen(info) is the return value of sprintf1366 1365 int cmdLength = 1367 1366 sprintf(info, "nv>data tag %s min %g max %g vmin %g vmax %g\n", tag,
Note: See TracChangeset
for help on using the changeset viewer.