# HG changeset patch # User Rik # Date 1405351982 25200 # Node ID f6468b8c6a74b718af1cd0da8e951adfa296c21c # Parent 5999e654f2564cbbb8244e63fd72c3ebf71935c7 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. diff --git a/scripts/gui/waitforbuttonpress.m b/scripts/gui/waitforbuttonpress.m --- a/scripts/gui/waitforbuttonpress.m +++ b/scripts/gui/waitforbuttonpress.m @@ -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