Mercurial > hg > octave-nkf
comparison src/pr-output.cc @ 12192:49f1b77a4911
pr-output.cc (Foutput_max_field_width): fix cut and paste error
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 28 Jan 2011 05:47:12 -0500 |
parents | c2a9fd508db4 |
children | 1cf28ef2bb88 |
comparison
equal
deleted
inserted
replaced
12191:c2a9fd508db4 | 12192:49f1b77a4911 |
---|---|
4012 Query or set the internal variable that specifies the maximum width\n\ | 4012 Query or set the internal variable that specifies the maximum width\n\ |
4013 of a numeric output field.\n\ | 4013 of a numeric output field.\n\ |
4014 @seealso{format, fixed_point_format, output_precision}\n\ | 4014 @seealso{format, fixed_point_format, output_precision}\n\ |
4015 @end deftypefn") | 4015 @end deftypefn") |
4016 { | 4016 { |
4017 return SET_INTERNAL_VARIABLE_WITH_LIMITS (output_precision, 0, INT_MAX); | 4017 return SET_INTERNAL_VARIABLE_WITH_LIMITS (output_max_field_width, 0, INT_MAX); |
4018 } | 4018 } |
4019 | 4019 |
4020 DEFUN (output_precision, args, nargout, | 4020 DEFUN (output_precision, args, nargout, |
4021 "-*- texinfo -*-\n\ | 4021 "-*- texinfo -*-\n\ |
4022 @deftypefn {Built-in Function} {@var{val} =} output_precision ()\n\ | 4022 @deftypefn {Built-in Function} {@var{val} =} output_precision ()\n\ |