changeset 5180:e7438487c857

[project @ 2005-03-03 05:33:45 by jwe]
author jwe
date Thu, 03 Mar 2005 05:33:45 +0000
parents 53f80b6d98d3
children 41cd70503c72
files src/ChangeLog src/parse.y
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2005-03-03  John W. Eaton  <jwe@octave.org>
+
+	* parse.y (looks_like_copyright): Check first 9 characters, not 14.
+
 2005-03-02  John W. Eaton  <jwe@octave.org>
 
 	* oct-stream.cc (octave_scan (std::istream&, const
--- a/src/parse.y
+++ b/src/parse.y
@@ -2974,7 +2974,7 @@
   // Perhaps someday we will want to do more here, so leave this as a
   // separate function.
 
-  return (s.substr (0, 14) == "Copyright");
+  return (s.substr (0, 9) == "Copyright");
 }
 
 static int