aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpreviewscript.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-09-06 20:09:32 -0700
committerMcCabe Maxsted2010-09-06 20:10:07 -0700
commit7106e399b3343702b053547651264ff70ad3fa8f (patch)
tree0643d49f6d58c2cedc24577bc494c7a889710c10 /linden/indra/newview/llpreviewscript.cpp
parentFixed regression of #295 in the 09.04 experimental (diff)
downloadmeta-impy-7106e399b3343702b053547651264ff70ad3fa8f.zip
meta-impy-7106e399b3343702b053547651264ff70ad3fa8f.tar.gz
meta-impy-7106e399b3343702b053547651264ff70ad3fa8f.tar.bz2
meta-impy-7106e399b3343702b053547651264ff70ad3fa8f.tar.xz
Fixed regression of #245
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpreviewscript.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/linden/indra/newview/llpreviewscript.cpp b/linden/indra/newview/llpreviewscript.cpp
index c77f7ff..d8c3aa9 100644
--- a/linden/indra/newview/llpreviewscript.cpp
+++ b/linden/indra/newview/llpreviewscript.cpp
@@ -1097,6 +1097,9 @@ void LLPreviewLSL::callbackLSLCompileFailed(const LLSD& compile_errors)
1097 line < compile_errors.endArray(); 1097 line < compile_errors.endArray();
1098 line++) 1098 line++)
1099 { 1099 {
1100 // Note: OpenSim screws up and sends the wrong values for (row, column).
1101 // (As of 2010-09-06: rows start at -1 instead of 0, and columns start at
1102 // 1 instead of 0) -- MC
1100 LLSD row; 1103 LLSD row;
1101 std::string error_message = line->asString(); 1104 std::string error_message = line->asString();
1102 LLStringUtil::stripNonprintable(error_message); 1105 LLStringUtil::stripNonprintable(error_message);