summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2011-08-21 08:11:15 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2011-08-21 08:11:15 (GMT)
commit5c424c553763d3f56f56e3fa3336b0f1f4a3c44a (patch)
tree26df576f6822a144ec9e57d58a5e9cca717ebd7b /src/util.cpp
parent9be758009e1a4c616377dc33ccf1e55dd8b04d9b (diff)
downloadDoxygen-5c424c553763d3f56f56e3fa3336b0f1f4a3c44a.zip
Doxygen-5c424c553763d3f56f56e3fa3336b0f1f4a3c44a.tar.gz
Doxygen-5c424c553763d3f56f56e3fa3336b0f1f4a3c44a.tar.bz2
Release-1.7.5.1
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 3ecdfb6..62f8443 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -4711,7 +4711,8 @@ QCString showFileDefMatches(const FileNameDict *fnDict,const char *n)
//----------------------------------------------------------------------
-QCString substituteKeywords(const QCString &s,const char *title)
+QCString substituteKeywords(const QCString &s,const char *title,
+ const char *projName,const char *projNum,const char *projBrief)
{
QCString result = s;
if (title) result = substitute(result,"$title",title);
@@ -4719,9 +4720,9 @@ QCString substituteKeywords(const QCString &s,const char *title)
result = substitute(result,"$date",dateToString(FALSE));
result = substitute(result,"$year",yearToString());
result = substitute(result,"$doxygenversion",versionString);
- result = substitute(result,"$projectname",Config_getString("PROJECT_NAME"));
- result = substitute(result,"$projectnumber",Config_getString("PROJECT_NUMBER"));
- result = substitute(result,"$projectbrief",Config_getString("PROJECT_BRIEF"));
+ result = substitute(result,"$projectname",projName);
+ result = substitute(result,"$projectnumber",projNum);
+ result = substitute(result,"$projectbrief",projBrief);
result = substitute(result,"$projectlogo",stripPath(Config_getString("PROJECT_LOGO")));
return result;
}