Mercurial > hg > octave-lyh
diff scripts/deprecated/cellidx.m @ 10549:95c3e38098bf
Untabify .m scripts
author | Rik <code@nomad.inbox5.com> |
---|---|
date | Fri, 23 Apr 2010 11:28:50 -0700 |
parents | 7f4939e76684 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/deprecated/cellidx.m +++ b/scripts/deprecated/cellidx.m @@ -88,20 +88,20 @@ signame = strlist{idx}; for jdx = 1:nsigs if (strcmp (signame, listvar{jdx})) - if (idxvec(idx) != 0) - warning ("Duplicate signal name %s (%d,%d)\n", - listvar{jdx}, jdx, idxvec(idx)); - else - idxvec(idx) = jdx; - endif + if (idxvec(idx) != 0) + warning ("Duplicate signal name %s (%d,%d)\n", + listvar{jdx}, jdx, idxvec(idx)); + else + idxvec(idx) = jdx; + endif endif endfor if (idxvec(idx) == 0) errmsg = sprintf ("Did not find %s", signame); if (nargout == 1) - error (errmsg); + error (errmsg); else - break; + break; endif endif endfor