changeset 19798:c040bed12b2e

* ginput.m: Fix botched search and replace in previous change.
author John W. Eaton <jwe@octave.org>
date Thu, 19 Feb 2015 02:16:48 -0500
parents 84772c272288
children 134e5bfff5c5 b38b677c0fa8
files scripts/plot/util/ginput.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/util/ginput.m	Thu Feb 19 02:11:13 2015 -0500
+++ b/scripts/plot/util/ginput.m	Thu Feb 19 02:16:48 2015 -0500
@@ -125,7 +125,7 @@
 endfunction
 
 function ginput_keypressfcn (src, evt)
-  point = get (ax, "currentpoint");
+  point = get (gca (), "currentpoint");
   key = evt.Key;
   if (key == "return")
     ## Enter key stops ginput.