Mercurial > hg > octave-lyh
changeset 6393:428b147d7e93
[project @ 2007-03-07 20:18:31 by jwe]
author | jwe |
---|---|
date | Wed, 07 Mar 2007 20:18:31 +0000 |
parents | e8c42df3d234 |
children | df3445687c6e |
files | scripts/plot/__uiobject_adopt__.m scripts/plot/__uiobject_make_handle__.in |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/__uiobject_adopt__.m +++ b/scripts/plot/__uiobject_adopt__.m @@ -33,7 +33,7 @@ ## Put this child at the end of the list. If it is already in ## the list, move it. kids(kids == child) = []; - kids = [kids, child] + kids = [kids, child]; set (parent, "children", kids); else error ("__uiobject_adopt__: expecting parent to be a handle");
--- a/scripts/plot/__uiobject_make_handle__.in +++ b/scripts/plot/__uiobject_make_handle__.in @@ -30,7 +30,7 @@ if (nargin == 1) idx = __uiobject_alloc__ (); - h = __uiobject_get_handle__ () + h = __uiobject_get_handle__ (); __uiobject_list__(idx).handle = h; __uiobject_list__(idx).object = s; __request_drawnow__ ();