[project @ 2005-12-06 16:29:48 by jwe]
author |
jwe |
date |
Tue, 06 Dec 2005 16:29:49 +0000 |
parents |
2299097cf9f2 |
children |
019e68c33798 |
files |
scripts/ChangeLog scripts/miscellaneous/dir.m |
diffstat |
2 files changed, 5 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,7 @@
+2005-12-06 John W. Eaton <jwe@octave.org>
+
+ * miscellaneous/dir.m: Return Nx1 instead of 1xN struct array.
+
2005-12-05 John W. Eaton <jwe@octave.org>
* plot/axis.m: Add "## PKG_ADD: mark_as_command axis" line.
--- a/scripts/miscellaneous/dir.m
+++ b/scripts/miscellaneous/dir.m
@@ -120,7 +120,7 @@
off = 1;
for i = 1:nf
tlen = len(i);
- file_list(off:off+tlen-1) = finfo{i};
+ file_list(off:off+tlen-1,1) = finfo{i};
off += tlen;
endfor
endif