changeset 14065:3709aaf73715 stable

gethelp.cc: also identify blocks starting with Author as license text
author Carnë Draug <carandraug+dev@gmail.com>
date Fri, 16 Dec 2011 15:31:14 +0000
parents 0b748d4284de
children 80bda7c4f012
files scripts/gethelp.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/gethelp.cc
+++ b/scripts/gethelp.cc
@@ -31,7 +31,7 @@
   // Perhaps someday we will want to do more here, so leave this as a
   // separate function.
 
-  return (s.substr (0, 9) == "Copyright");
+  return (s.substr (0, 9) == "Copyright" || s.substr (0, 6) == "Author");
 }
 
 // Eat whitespace and comments from FFILE, returning the text of the