diff src/error.cc @ 2095:36903d507b0e

[project @ 1996-04-28 09:00:07 by jwe]
author jwe
date Sun, 28 Apr 1996 09:00:07 +0000
parents bfb775fb6fe8
children 68b02495a5ac
line wrap: on
line diff
--- a/src/error.cc
+++ b/src/error.cc
@@ -53,7 +53,7 @@
 static void
 verror (const char *name, const char *fmt, va_list args)
 {
-  flush_output_to_pager ();
+  flush_octave_stdout ();
 
   int to_beep_or_not_to_beep = user_pref.beep_on_error && ! error_state;
 
@@ -91,7 +91,7 @@
     }
   else
     {
-      maybe_write_to_diary_file (msg);
+      octave_diary << msg;
       cerr << msg;
     }
 
@@ -185,7 +185,7 @@
 void
 panic (const char *fmt, ...)
 {
-  flush_output_to_pager ();
+  flush_octave_stdout ();
 
   va_list args;
   va_start (args, fmt);