summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp26
1 files changed, 14 insertions, 12 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 9260571..0c0e0d6 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -9151,22 +9151,24 @@ static void copyStyleSheet()
copyFile(htmlStyleSheet,destFileName);
}
}
- QCString &htmlExtraStyleSheet = Config_getString("HTML_EXTRA_STYLESHEET");
- if (!htmlExtraStyleSheet.isEmpty())
+ QStrList htmlExtraStyleSheet = Config_getList("HTML_EXTRA_STYLESHEET");
+ for (uint i=0; i<htmlExtraStyleSheet.count(); ++i)
{
- QFileInfo fi(htmlExtraStyleSheet);
- if (!fi.exists())
- {
- err("Style sheet '%s' specified by HTML_EXTRA_STYLESHEET does not exist!\n",htmlExtraStyleSheet.data());
- htmlExtraStyleSheet.resize(0); // revert to the default
- }
- else
+ QCString fileName(htmlExtraStyleSheet.at(i));
+ if (!fileName.isEmpty())
{
- QCString destFileName = Config_getString("HTML_OUTPUT")+"/"+fi.fileName().data();
- copyFile(htmlExtraStyleSheet,destFileName);
+ QFileInfo fi(fileName);
+ if (!fi.exists())
+ {
+ err("Style sheet '%s' specified by HTML_EXTRA_STYLESHEET does not exist!\n",fileName.data());
+ }
+ else
+ {
+ QCString destFileName = Config_getString("HTML_OUTPUT")+"/"+fi.fileName().data();
+ copyFile(fileName, destFileName);
+ }
}
}
-
}
static void copyLogo()