summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-01-31 19:49:01 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-01-31 19:49:01 (GMT)
commit9778b72f5641d98f98a1851fc93148f9da258a74 (patch)
treef283fe690f32ce67424790725d2a4aceade4e787 /src/index.cpp
parent482b02defc5945a0fd3476c47630f5935a880c10 (diff)
downloadDoxygen-9778b72f5641d98f98a1851fc93148f9da258a74.zip
Doxygen-9778b72f5641d98f98a1851fc93148f9da258a74.tar.gz
Doxygen-9778b72f5641d98f98a1851fc93148f9da258a74.tar.bz2
Fixed type in javascript license text and moved it to one location
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/index.cpp b/src/index.cpp
index fbef2cb..e743fac 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -5275,21 +5275,7 @@ static void writeMenuData()
if (f.open(IO_WriteOnly))
{
FTextStream t(&f);
- t << "/*\n@ @licstart The following is the entire license notice for the\n"
- "JavaScript code in this file.\n\nCopyright (C) 1997-2017 by Dimitri van Heesch\n\n"
- "This program is free software; you can redistribute it and/or modify\n"
- "it under the terms of the GNU General Public License as published by\n"
- "the Free Software Foundation; either version 2 of the License\n\n"
- "This program is distributed in the hope that it will be useful,\n"
- "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
- " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
- " GNU General Public License for more details.\n\n"
- "You should have received a copy of the GNU General Public License along\n"
- "with this program; if not, write to the Free Software Foundation, Inc.,\n"
- "51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\n"
- "@licend The above is the entire license notice\n"
- "for the JavaScript code in this file\n"
- "*/\n";
+ t << JAVASCRIPT_LICENSE_TEXT;
t << "var menudata={";
bool hasChildren = renderQuickLinksAsJs(t,root,TRUE);
if (hasChildren) t << "]";