# HG changeset patch # User John W. Eaton # Date 1296211632 18000 # Node ID 49f1b77a4911467873c8dfcdf55d90d912b576b7 # Parent c2a9fd508db455c08399ec90f6079385f77e3350 pr-output.cc (Foutput_max_field_width): fix cut and paste error diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-01-28 John W. Eaton + + * pr-output.cc (Foutput_max_field_width): Set internal variable + output_max_field_width, not output_precision. + 2011-01-28 John W. Eaton * pr-output.cc (Fformat, Ffixed_point_format, Foutput_precision, diff --git a/src/pr-output.cc b/src/pr-output.cc --- a/src/pr-output.cc +++ b/src/pr-output.cc @@ -4014,7 +4014,7 @@ @seealso{format, fixed_point_format, output_precision}\n\ @end deftypefn") { - return SET_INTERNAL_VARIABLE_WITH_LIMITS (output_precision, 0, INT_MAX); + return SET_INTERNAL_VARIABLE_WITH_LIMITS (output_max_field_width, 0, INT_MAX); } DEFUN (output_precision, args, nargout,