Mercurial > hg > octave-avbm
diff src/toplev.cc @ 2145:4d13a9fafd44
[project @ 1996-05-13 05:55:25 by jwe]
author | jwe |
---|---|
date | Mon, 13 May 1996 05:55:25 +0000 |
parents | 36903d507b0e |
children | a940dcdfe9de |
line wrap: on
line diff
--- a/src/toplev.cc +++ b/src/toplev.cc @@ -619,11 +619,8 @@ { if (return_output) output_buf.put (ch); - - if (user_pref.page_screen_output) + else octave_stdout.put (ch); - else - cout.put (ch); } status = cmd->close (); @@ -637,6 +634,8 @@ if (return_output) { + output_buf << ends; + char *msg = output_buf.str (); retval(1) = (double) status;