Mercurial > hg > octave-nkf
diff scripts/gethelp.cc @ 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 | db1f49eaba6b |
children | 72c96de7a403 |
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