ports/math/plplot/files/patch-doc__docbook__src__plplotdoc.texi
Martin Wilke b5fd228450 - Fix build
PR:		175579
Submitted by:	ports fury
2013-02-04 14:17:48 +00:00

20 lines
459 B
Text

--- 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;
@}