summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-12-23 15:09:19 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-12-23 15:09:19 (GMT)
commit5e962c90d3270612df7363e7cf6bf42646c94fbe (patch)
tree2641fce26958ffc7d724f6d0471f1f8ed112c4f4 /src/doxygen.cpp
parent5cb961284e89f197406170389e8866bb9c94fe3a (diff)
downloadDoxygen-5e962c90d3270612df7363e7cf6bf42646c94fbe.zip
Doxygen-5e962c90d3270612df7363e7cf6bf42646c94fbe.tar.gz
Doxygen-5e962c90d3270612df7363e7cf6bf42646c94fbe.tar.bz2
Bug 739462 - Using "doxygen.css" for HTML_EXTRA_STYLESHEET fails silently
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 6ae8a4a..e127b8e 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -9256,6 +9256,10 @@ static void copyStyleSheet()
{
err("Style sheet '%s' specified by HTML_EXTRA_STYLESHEET does not exist!\n",fileName.data());
}
+ else if (fi.fileName()=="doxygen.css" || fi.fileName()=="tabs.css" || fi.fileName()=="navtree.css")
+ {
+ err("Style sheet %s specified by HTML_EXTRA_STYLESHEET is already a built-in stylesheet. Please use a different name\n",fi.fileName().data());
+ }
else
{
QCString destFileName = Config_getString("HTML_OUTPUT")+"/"+fi.fileName().data();