From e4782045260259b59c3f91a2c5132fc6cf429622 Mon Sep 17 00:00:00 2001 From: Jonathan Yap Date: Fri, 6 Apr 2012 09:04:51 -0400 Subject: STORM-1833 Square char is presented in list of recompilation for script with error Subtask of STORM-637 --- indra/newview/llassetuploadqueue.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'indra/newview/llassetuploadqueue.cpp') diff --git a/indra/newview/llassetuploadqueue.cpp b/indra/newview/llassetuploadqueue.cpp index 7e50098a17..f943759bb8 100644 --- a/indra/newview/llassetuploadqueue.cpp +++ b/indra/newview/llassetuploadqueue.cpp @@ -123,7 +123,9 @@ public: for(LLSD::array_const_iterator line = compile_errors.beginArray(); line < compile_errors.endArray(); line++) { - mSupplier->log(line->asString()); + std::string str = line->asString(); + str.erase(std::remove(str.begin(), str.end(), '\n'), str.end()); + mSupplier->log(str); llinfos << content["errors"] << llendl; } } -- cgit v1.2.3