diff src/ls-oct-ascii.cc @ 6202:e5ed0d1edddc

[project @ 2006-12-05 21:49:44 by jwe]
author jwe
date Tue, 05 Dec 2006 21:49:45 +0000
parents 4508e9d73ea1
children 44c91c5dfe1d
line wrap: on
line diff
--- a/src/ls-oct-ascii.cc
+++ b/src/ls-oct-ascii.cc
@@ -121,6 +121,11 @@
 	    }
 	  else if (next_only)
 	    break;
+	  else
+	    {
+	      while (is.get (c) && c != '\n')
+		; // Skip to end of line.
+	    }
 	}
     }