Mercurial > hg > octave-terminal
changeset 7373:f350da755600
[project @ 2008-01-14 20:12:42 by jwe]
author | jwe |
---|---|
date | Mon, 14 Jan 2008 20:12:42 +0000 |
parents | c51426c80045 |
children | 4ff9611147ba |
files | src/graphics.cc |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/graphics.cc +++ b/src/graphics.cc @@ -183,8 +183,11 @@ } } else - error ("trying to execute non-executable object (class = %s)", - cb.class_name ()); + { + std::string nm = cb.class_name (); + error ("trying to execute non-executable object (class = %s)", + nm.c_str ()); + } if (! error_state) feval (fcn, args);