diff scripts/general/prepad.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 be55736a0783
children fd0a3ac60b0e
line wrap: on
line diff
--- a/scripts/general/prepad.m
+++ b/scripts/general/prepad.m
@@ -60,8 +60,8 @@
       dim = 1;
     endif
   else
-    if (!(isscalar (dim) && dim == fix (dim)) ||
-        !(1 <= dim && dim <= nd))
+    if (!(isscalar (dim) && dim == fix (dim))
+        || !(1 <= dim && dim <= nd))
       error ("prepad: DIM must be an integer and a valid dimension");
     endif
   endif