Fix off by one error in script error reporting.

0.7.3-post-fixes
Justin Clark-Casey (justincc) 2012-03-06 02:01:47 +00:00
parent f96e985763
commit ba27d8a389
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
emessage = emessage.Substring(slinfo.Length+2);
message = String.Format("({0},{1}) {2}",
e.slInfo.lineNumber - 2,
e.slInfo.lineNumber - 1,
e.slInfo.charPosition - 1, emessage);
throw new Exception(message);