--- a/src/cell2fields.cc
+++ b/src/cell2fields.cc
@@ -20,7 +20,7 @@
 #include <octave/oct.h>
 #include <octave/ov-struct.h>
 
-DEFUN_DLD (cell2fields, args, , 
+DEFUN_DLD (cell2fields, args, ,
   "-*- texinfo -*-\n\
 @deftypefn {Loadable Function} {} cell2fields (@var{c}, @var{fields}, @var{dim}, @var{s})\n\
 Return structure-array @var{s} after setting the fields @var{fields} with the slices of cell-array @var{c} vertically to dimension @var{dim}. @var{s} must have matching dimensions or be empty.\n\
@@ -53,7 +53,7 @@
   if (ndims.length () > 2 || (ndims(0) > 1 && ndims(1) > 1))
     {
       error ("%s: second argument must be a one-dimensional cell array",
-	     fname.c_str ());
+             fname.c_str ());
       return octave_value_list ();
     }
 
@@ -61,7 +61,7 @@
   if (error_state)
     {
       error ("%s: third argument must be an integer",
-	     fname.c_str ());
+             fname.c_str ());
       return octave_value_list ();
     }
 
@@ -105,11 +105,11 @@
   else
     {
       if (s.dims () != tdims)
-	{
-	  error ("%s: structure has incorrect dimensions", fname.c_str ());
+        {
+          error ("%s: structure has incorrect dimensions", fname.c_str ());
 
-	  return octave_value_list ();
-	}
+          return octave_value_list ();
+        }
       retval = (s);
     }
 
@@ -138,16 +138,16 @@
       cursor = 0;
 
       for (j = 0; j < nt; j++)
-	{
-	  t(j) = c(origin + cursor++);
+        {
+          t(j) = c(origin + cursor++);
 
-	  if (cursor == skip_count)
-	    {
-	      cursor = 0;
+          if (cursor == skip_count)
+            {
+              cursor = 0;
 
-	      origin += skip;
-	    }
-	}
+              origin += skip;
+            }
+        }
 
       retval.assign (names(i), t);