changeset 18917:f6468b8c6a74 stable

doc: Correct variable name in waitforbuttonpress docstring (bug #42768). * waitforbuttonpress.m: Rename variable in function definition from 'A' to 'B' to match rest of docstring.
author Rik <rik@octave.org>
date Mon, 14 Jul 2014 08:33:02 -0700
parents 5999e654f256
children bcbd309bf272
files scripts/gui/waitforbuttonpress.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/gui/waitforbuttonpress.m	Fri Jun 27 17:09:28 2014 -0400
+++ b/scripts/gui/waitforbuttonpress.m	Mon Jul 14 08:33:02 2014 -0700
@@ -18,7 +18,7 @@
 
 ## -*- texinfo -*-
 ## @deftypefn  {Function File} {} waitforbuttonpress ()
-## @deftypefnx {Function File} {@var{a} =} waitforbuttonpress ()
+## @deftypefnx {Function File} {@var{b} =} waitforbuttonpress ()
 ## Wait for mouse click or key press over the current figure window.
 ##
 ## The return value of @var{b} is 0 if a mouse button was pressed or 1 if a