Mercurial > hg > octave-nkf
diff scripts/deprecated/intwarning.m @ 11149:fe3c3dfc07eb
style fix: break lines before && and ||, not after
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 23 Oct 2010 03:00:31 -0400 |
parents | a4f482e66b65 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/deprecated/intwarning.m +++ b/scripts/deprecated/intwarning.m @@ -108,10 +108,10 @@ endif elseif (isstruct(x)) for fld = fieldnames (x) - if (strcmp ("Octave:int-convert-nan") || - strcmp ("Octave:int-convert-non-int-val") || - strcmp ("Octave:int-convert-overflow") || - strcmp ("Octave:int-cmath-overflow")) + if (strcmp ("Octave:int-convert-nan") + || strcmp ("Octave:int-convert-non-int-val") + || strcmp ("Octave:int-convert-overflow") + || strcmp ("Octave:int-cmath-overflow")) s = getfield (x, fld); if (! ischar (s) || !(strcmpi("s","on") || strcmpi("s","off"))) error ("intwarning: unexpected warning state");