diff src/ls-mat-ascii.cc @ 11586:12df7854fa7c

strip trailing whitespace from source files
author John W. Eaton <jwe@octave.org>
date Thu, 20 Jan 2011 17:24:59 -0500
parents fd0a3ac60b0e
children 72c96de7a403
line wrap: on
line diff
--- a/src/ls-mat-ascii.cc
+++ b/src/ls-mat-ascii.cc
@@ -149,7 +149,7 @@
             {
               beg = buf.find_first_not_of (", \t", end);
 
-              if (beg == std::string::npos || (buf[beg] == '\r' && 
+              if (beg == std::string::npos || (buf[beg] == '\r' &&
                                   beg == buf.length () - 1))
                 {
                   // We had a line with trailing spaces and
@@ -360,7 +360,7 @@
               for (octave_idx_type j = 0; j < m.cols (); j++)
                 {
                   // Omit leading tabs.
-                  if (j != 0) os << '\t'; 
+                  if (j != 0) os << '\t';
                   octave_write_double (os, m (i, j));
                 }
               os << "\n";