Mercurial > octave-libgccjit
changeset 9262:de255681c85f
colorbar: downcase location argument
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 26 May 2009 12:12:22 -0400 |
parents | 95445f9f5976 |
children | be7d8132c139 |
files | scripts/ChangeLog scripts/plot/colorbar.m |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog Tue May 26 12:00:00 2009 -0400 +++ b/scripts/ChangeLog Tue May 26 12:12:22 2009 -0400 @@ -1,3 +1,7 @@ +2009-05-26 John W. Eaton <jwe@octave.org> + + * plot/colorbar.m: Downcase location argument. + 2009-05-26 Carlo de Falco <kingcrimson@tiscali.it> * pkg/pkg.m: Add "version" field to the structure returned by "pkg
--- a/scripts/plot/colorbar.m Tue May 26 12:00:00 2009 -0400 +++ b/scripts/plot/colorbar.m Tue May 26 12:12:22 2009 -0400 @@ -71,7 +71,7 @@ || strcmpi (arg, "east") || strcmpi (arg, "west") || strcmpi (arg, "northoutside") || strcmpi (arg, "southoutside") || strcmpi (arg, "eastoutside") || strcmpi (arg, "westoutside")) - loc = arg; + loc = tolower (arg); elseif (strcmpi (arg, "off") || strcmpi (arg, "none")) deleting = true; else