Mercurial > hg > octave-nkf
changeset 2145:4d13a9fafd44
[project @ 1996-05-13 05:55:25 by jwe]
author | jwe |
---|---|
date | Mon, 13 May 1996 05:55:25 +0000 |
parents | d5af81681fda |
children | 5a417927755a |
files | src/toplev.cc |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
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;