From 993972cd242527ddf929756141a68cccfc8ecef9 Mon Sep 17 00:00:00 2001 From: albert-github Date: Tue, 28 Jul 2015 15:07:03 +0200 Subject: 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. --- src/message.cpp | 6 +++--- 1 file 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 -- cgit v0.12