# HG changeset patch # User Ben Abbott # Date 1287707694 -28800 # Node ID 7c045d8017023d92e6ec3f55e95beb46a8676e60 # Parent c5640104bce1c3bfdcbb13194804d8ff7c51338e legend.m: Trivial fix to allow legend handle to be returned. diff -r c5640104bce1 -r 7c045d801702 scripts/ChangeLog --- a/scripts/ChangeLog Thu Oct 21 17:22:50 2010 -0400 +++ b/scripts/ChangeLog Fri Oct 22 08:34:54 2010 +0800 @@ -1,3 +1,7 @@ +2010-10-22 Ben Abbott + + * plot/legend.m: Trivial fix to allow legend handle to be returned. + 2010-10-21 John W. Eaton * statistics/base/quantile.m: Fix typo in previous change. diff -r c5640104bce1 -r 7c045d801702 scripts/plot/legend.m --- a/scripts/plot/legend.m Thu Oct 21 17:22:50 2010 -0400 +++ b/scripts/plot/legend.m Fri Oct 22 08:34:54 2010 +0800 @@ -726,7 +726,7 @@ endif if (nargout > 0) - hlegend2 = hlegend2; + hlegend2 = hlegend; hobjects2 = hobjects; hplot2 = hplots; text_strings2 = text_strings;