Permalink
Browse files

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.
  • Loading branch information...
albert-github committed Jul 28, 2015
1 parent 31c5aec commit 993972cd242527ddf929756141a68cccfc8ecef9
Showing with 3 additions and 3 deletions.
  1. +3 −3 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

0 comments on commit 993972c

Please sign in to comment.