diff src/input.cc @ 12109:10dcb8b64e4a release-3-2-x

keyboard: fix stack manipulation
author John W. Eaton <jwe@octave.org>
date Wed, 25 Nov 2009 13:31:55 -0500
parents c25e744c033d
children
line wrap: on
line diff
--- a/src/input.cc	Wed Nov 25 12:05:09 2009 +0100
+++ b/src/input.cc	Wed Nov 25 13:31:55 2009 -0500
@@ -956,7 +956,7 @@
       unwind_protect_size_t (saved_frame);
 
       // Skip the frame assigned to the keyboard function.
-      octave_call_stack::goto_frame (1);
+      octave_call_stack::goto_frame_relative (0, true);
 
       do_keyboard (args);