Mercurial > hg > octave-nkf
diff src/graphics.cc @ 13940:bf209050014f
Use nargout = 0 in graphics callbacks specified as string.
* src/graphics.cc (gh_manager::do_execute_callback): Call eval_string with
nargout set to 0.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Sat, 26 Nov 2011 21:59:04 +0000 |
parents | e48e8253ce58 |
children | ffbbe6719ef5 |
line wrap: on
line diff
old mode 100644 new mode 100755 --- a/src/graphics.cc +++ b/src/graphics.cc @@ -7691,7 +7691,7 @@ int status; std::string s = cb.string_value (); - eval_string (s, false, status); + eval_string (s, false, status, 0); } else if (cb.is_cell () && cb.length () > 0 && (cb.rows () == 1 || cb.columns () == 1)