--- a/src/fields2cell.cc
+++ b/src/fields2cell.cc
@@ -20,7 +20,7 @@
 #include <octave/oct.h>
 #include <octave/ov-struct.h>
 
-DEFUN_DLD (fields2cell, args, , 
+DEFUN_DLD (fields2cell, args, ,
   "-*- texinfo -*-\n\
 @deftypefn {Loadable Function} {} fields2cell (@var{s}, @var{names})\n\
 Works similarly to @code{struct2cell} (see there), but considers only fields given by the strings in cell array @var{names}. Returns an error if a field is missing in @var{s}.\n\
@@ -45,7 +45,7 @@
   if (error_state)
     {
       error ("%s: second argument must be a cell array of strings",
-	     fname.c_str ());
+             fname.c_str ());
       return octave_value_list ();
     }
 
@@ -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 ();
     }
 
@@ -80,19 +80,19 @@
   for (octave_idx_type i = 0; i < n; i++)
     {
       if (! s.contains (names(i)))
-	{
-	  error ("%s: some fields not present", fname.c_str ());
-	  return octave_value_list ();
-	}
+        {
+          error ("%s: some fields not present", fname.c_str ());
+          return octave_value_list ();
+        }
 
       Cell tp = s.contents (names(i));
 
       octave_idx_type l = i;
       for (octave_idx_type j = 0; j < k; j++)
-	{
-	  retval(l) = tp(j);
-	  l += n;
-	}
+        {
+          retval(l) = tp(j);
+          l += n;
+        }
     }
 
   return octave_value (retval);