diff options
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 9 |
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; } |