diff scripts/miscellaneous/getappdata.m @ 19899: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 4197fc428c7d
children
line wrap: on
line diff
--- a/scripts/miscellaneous/getappdata.m	Thu Feb 26 13:07:04 2015 -0500
+++ b/scripts/miscellaneous/getappdata.m	Thu Feb 26 13:13:40 2015 -0500
@@ -52,8 +52,7 @@
     for i = 1:numel (h)
       value{i} = [];
       pval = get (h(i));
-      if (isfield (pval, "__appdata__") &&
-          isfield (pval.__appdata__, name))
+      if (isfield (pval, "__appdata__") && isfield (pval.__appdata__, name))
         value{i} = pval.__appdata__.(name);
       endif
     endfor