[project @ 2007-09-19 19:54:13 by jwe]
author |
jwe |
date |
Wed, 19 Sep 2007 19:54:13 +0000 |
parents |
3fb60fc8139f |
children |
58b1a9e96037 |
files |
liboctave/ChangeLog liboctave/cmd-edit.cc |
diffstat |
2 files changed, 6 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/liboctave/ChangeLog
+++ b/liboctave/ChangeLog
@@ -1,3 +1,8 @@
+2007-09-19 John W. Eaton <jwe@octave.org>
+
+ * cmd-edit.cc (command_editor::remove_startup_hook):
+ Fix cut-and-paste error.
+
2007-09-18 John W. Eaton <jwe@octave.org>
* cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set,
--- a/liboctave/cmd-edit.cc
+++ b/liboctave/cmd-edit.cc
@@ -860,7 +860,7 @@
startup_hook_set_iterator p = startup_hook_set.find (f);
if (p != startup_hook_set.end ())
- event_hook_set.erase (p);
+ startup_hook_set.erase (p);
if (startup_hook_set.empty ())
instance->restore_startup_hook ();