summaryrefslogtreecommitdiff
path: root/math/plplot/files/patch-doc__docbook__src__plplotdoc.texi
blob: 15d6f7ed200e57d21f953a47aa0862d870e9922f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- doc/docbook/src/plplotdoc.texi.orig
+++ doc/docbook/src/plplotdoc.texi
@@ -6722,7 +6722,7 @@
 	if (pm->fdata[i] > max)
 	max = pm->fdata[i];
 
-	sprintf( interp->result, "%f", max );
+	sprintf( Tcl_GetStringResult(interp), "%f", max );
 	return TCL_OK;
 	@}
 
@@ -6735,7 +6735,7 @@
 	if (pm->fdata[i] < min)
 	min = pm->fdata[i];
 
-	sprintf( interp->result, "%f", min );
+	sprintf( Tcl_GetStringResult(interp), "%f", min );
 	return TCL_OK;
 	@}