Browse Source

fix a string format

UbitUmarov 6 years ago
parent
commit
792a1c6e3d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs

+ 1 - 1
OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs

@@ -16965,7 +16965,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
                     default:
                         if (c < ' ')
                         {
-                            t = "000" + String.Format("X", c);
+                            t = "000" + String.Format("{0:X}", c);
                             sb.Append("\\u" + t.Substring(t.Length - 4));
                         }
                         else