Mercurial > octave-nkf
diff src/error.cc @ 7882:4816cec8b1ca
one more verror fix
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 11 Jun 2008 14:39:21 -0400 |
parents | 7609a985a052 |
children | 736124a4fa3d |
line wrap: on
line diff
--- a/src/error.cc Wed Jun 11 14:21:06 2008 -0400 +++ b/src/error.cc Wed Jun 11 14:39:21 2008 -0400 @@ -247,7 +247,9 @@ if (buffer_error_messages) { - if (! error_message_buffer) + if (error_message_buffer) + msg_string = "error: " + msg_string; + else error_message_buffer = new std::ostringstream (); *error_message_buffer << msg_string;