Mercurial > hg > octave-lyh
diff src/graphics.cc @ 7373:f350da755600
[project @ 2008-01-14 20:12:42 by jwe]
author | jwe |
---|---|
date | Mon, 14 Jan 2008 20:12:42 +0000 |
parents | 74d64ead0cd7 |
children | 3771971e8891 |
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);