diff options
author | Charles Krinke | 2009-03-05 03:15:30 +0000 |
---|---|---|
committer | Charles Krinke | 2009-03-05 03:15:30 +0000 |
commit | f7b914228b4db52355234695dc781cf107d8581f (patch) | |
tree | b38aed20bf324795ad64cbf3e06186769d5d885f | |
parent | MRM Scripting Changes (diff) | |
download | opensim-SC_OLD-f7b914228b4db52355234695dc781cf107d8581f.zip opensim-SC_OLD-f7b914228b4db52355234695dc781cf107d8581f.tar.gz opensim-SC_OLD-f7b914228b4db52355234695dc781cf107d8581f.tar.bz2 opensim-SC_OLD-f7b914228b4db52355234695dc781cf107d8581f.tar.xz |
Fixes Mantis #3253. Thank you kindly, Godfrey, for a patch that:
Corrects the incomplete implementation of llXorBase64StringsCorrect()
so that it returns the proper reversible result.
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index bc113db..0734e1c 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -8658,7 +8658,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
8658 | int c = 0; | 8658 | int c = 0; |
8659 | for (int i = 0; i < src1.Length; i++) | 8659 | for (int i = 0; i < src1.Length; i++) |
8660 | { | 8660 | { |
8661 | ret += src1[i] ^ src2[c]; | 8661 | ret += (char) (src1[i] ^ src2[c]); |
8662 | 8662 | ||
8663 | c++; | 8663 | c++; |
8664 | if (c >= src2.Length) | 8664 | if (c >= src2.Length) |