# HG changeset patch # User Carnë Draug # Date 1324049474 0 # Node ID 3709aaf73715a3b2882df014c74e18669a173724 # Parent 0b748d4284de21340786f909a113d22391e5e8dc gethelp.cc: also identify blocks starting with Author as license text diff --git a/scripts/gethelp.cc b/scripts/gethelp.cc --- 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