From d3d72eb03c5a1bab929d555ec5bd3c23b23e7624 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Thu, 4 Apr 2019 23:36:45 -0400 Subject: [PATCH] Wooops, inverted the logic! Look out! --- indra/newview/llpreviewscript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp index cb8d312f1..d0f011998 100644 --- a/indra/newview/llpreviewscript.cpp +++ b/indra/newview/llpreviewscript.cpp @@ -503,7 +503,7 @@ bool LLScriptEdCore::writeToFile(const std::string& filename) default: backslash = false; break; } } - if (quote) LLStringUtil::trimTail(line); + if (!quote) LLStringUtil::trimTail(line); if (!utf8text.empty()) utf8text += '\n'; utf8text += line; }