Mercurial > hg > octave-nkf
diff scripts/plot/draw/shrinkfaces.m @ 20072:e9f89866074c
maint: Cleanup some .m files to follow Octave coding conventions.
* accumarray.m, validateattributes.m, iscolormap.m, __imread__.m,
__imwrite__.m, imwrite_filename.m, strread.m, getappdata.m,
appearance/annotation.m, shrinkfaces.m, rundemos.m, runtests.m,
datenum.m, datestr.m: Break long lines before && and ||.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 26 Feb 2015 13:13:40 -0500 |
parents | 9fc020886ae9 |
children |
line wrap: on
line diff
--- a/scripts/plot/draw/shrinkfaces.m +++ b/scripts/plot/draw/shrinkfaces.m @@ -76,8 +76,8 @@ colors = []; p = varargin{1}; - if (isscalar (p) && ishandle (p) && nargin < 3 && - strcmp (get (p, "type"), "patch")) + if (isscalar (p) && ishandle (p) && nargin < 3 + && strcmp (get (p, "type"), "patch")) faces = get (p, "Faces"); vertices = get (p, "Vertices"); colors = get (p, "FaceVertexCData");