summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2015-07-28 13:07:03 (GMT)
committeralbert-github <albert.tests@gmail.com>2015-07-28 13:07:03 (GMT)
commit993972cd242527ddf929756141a68cccfc8ecef9 (patch)
treec4d3401c98412e6f0a12ade799788cedd3315822
parent31c5aecbec5200bbfe797cfe8e7c0b565717a96f (diff)
downloadDoxygen-993972cd242527ddf929756141a68cccfc8ecef9.zip
Doxygen-993972cd242527ddf929756141a68cccfc8ecef9.tar.gz
Doxygen-993972cd242527ddf929756141a68cccfc8ecef9.tar.bz2
Bug 333106 - $line param
Due to the order of the substitutions the $line was also substituted in the text part. Now the text part is added at the end and the substitution does not take place.
-rw-r--r--src/message.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/message.cpp b/src/message.cpp
index 8f89c11..e29c4e4 100644
--- a/src/message.cpp
+++ b/src/message.cpp
@@ -138,11 +138,11 @@ static void format_warn(const char *file,int line,const char *text)
outputFormat,
"$file",fileSubst
),
- "$text",textSubst
+ "$line",lineSubst
),
- "$line",lineSubst
+ "$version",versionSubst
),
- "$version",versionSubst
+ "$text",textSubst
)+'\n';
// print resulting message