Skip to content

Commit

Permalink
Bug 333106 - $line param
Browse files Browse the repository at this point in the history
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 993972c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/message.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 993972c

Please sign in to comment.