Mercurial > octave-nkf
changeset 10934:f6294203286e
Fix off by one error in the what function (bug #30919)
author | David Bateman <dbateman@free.fr> |
---|---|
date | Tue, 31 Aug 2010 23:27:18 +0200 |
parents | e78e531dfa2d |
children | 3cb4889dd6f7 |
files | scripts/ChangeLog scripts/miscellaneous/what.m |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog Tue Aug 31 22:50:20 2010 +0200 +++ b/scripts/ChangeLog Tue Aug 31 23:27:18 2010 +0200 @@ -1,5 +1,7 @@ 2010-07-07 David Bateman <dbateman@free.fr> + * miscellaneous/what.m: Off by one error. + * plot/__go_draw_axes__.m: Improve matlab compatibility for "." marker.
--- a/scripts/miscellaneous/what.m Tue Aug 31 22:50:20 2010 +0200 +++ b/scripts/miscellaneous/what.m Tue Aug 31 23:27:18 2010 +0200 @@ -103,7 +103,7 @@ for i = 1 : nrows args = f(i:nrows:end); if (length (args) < ncols) - args(end : ncols) = {""}; + args(end + 1 : ncols) = {""}; endif printf (fmt, args{:}); endfor