diff options
Diffstat (limited to 'math/plplot/files/patch-doc__docbook__src__tcl.xml')
| -rw-r--r-- | math/plplot/files/patch-doc__docbook__src__tcl.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/math/plplot/files/patch-doc__docbook__src__tcl.xml b/math/plplot/files/patch-doc__docbook__src__tcl.xml new file mode 100644 index 000000000000..c3f332b423b7 --- /dev/null +++ b/math/plplot/files/patch-doc__docbook__src__tcl.xml @@ -0,0 +1,20 @@ +--- doc/docbook/src/tcl.xml.orig ++++ doc/docbook/src/tcl.xml +@@ -576,7 +576,7 @@ + if (pm->fdata[i] > max) + max = pm->fdata[i]; + +- sprintf( interp->result, "%f", max ); ++ sprintf( Tcl_GetStringResult(interp), "%f", max ); + return TCL_OK; + } + +@@ -589,7 +589,7 @@ + if (pm->fdata[i] < min) + min = pm->fdata[i]; + +- sprintf( interp->result, "%f", min ); ++ sprintf( Tcl_GetStringResult(interp), "%f", min ); + return TCL_OK; + } + </programlisting> |
