changeset 14044:c15ddadffbfb stable

Fix segfault in diary class (Bug #35065) * pager.cc (flush_current_contents_to_diary): Fix typo where function called itself, rather than do_flush_current_contents_to_diary.
author Rik <octave@nomad.inbox5.com>
date Wed, 14 Dec 2011 08:39:44 -0800
parents f913363318e0
children db264e617a98
files src/pager.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/pager.cc	Tue Dec 13 16:53:22 2011 -0500
+++ b/src/pager.cc	Wed Dec 14 08:39:44 2011 -0800
@@ -321,7 +321,7 @@
 octave_pager_stream::flush_current_contents_to_diary (void)
 {
   if (instance_ok ())
-    instance->flush_current_contents_to_diary ();
+    instance->do_flush_current_contents_to_diary ();
 }
 
 void