[project @ 2004-09-23 14:46:17 by jwe]
author |
jwe |
date |
Thu, 23 Sep 2004 14:46:17 +0000 |
parents |
da607e9daf12 |
children |
1ec26bdb120c |
files |
src/ChangeLog src/ov-struct.cc |
diffstat |
2 files changed, 5 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-23 John W. Eaton <jwe@octave.org>
+
+ * ov-struct.cc (octave_struct::subsref): Pass skip to next_subsref.
+
2004-09-22 John W. Eaton <jwe@octave.org>
* pt-plot.cc (send_to_plot_stream): Skip automatic replot if in
--- a/src/ov-struct.cc
+++ b/src/ov-struct.cc
@@ -155,7 +155,7 @@
// octave_user_function::subsref.
if (idx.size () > 1)
- retval = retval(0).next_subsref (nargout, type, idx);
+ retval = retval(0).next_subsref (nargout, type, idx, skip);
return retval;
}