diff --git a/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs b/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs index 9f34d7fcf8..3b9c687060 100644 --- a/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs @@ -554,7 +554,10 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender } else if (nextLine.StartsWith("Text")) { - nextLine = nextLine.Remove(0, 4); + int start = 4; + if(nextLine[4] == ' ') + start++; + nextLine = nextLine.Substring(start); nextLine = nextLine.Trim(); graph.DrawString(nextLine, myFont, myBrush, startPoint); }