aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs b/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
index 9f34d7f..3b9c687 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
554 } 554 }
555 else if (nextLine.StartsWith("Text")) 555 else if (nextLine.StartsWith("Text"))
556 { 556 {
557 nextLine = nextLine.Remove(0, 4); 557 int start = 4;
558 if(nextLine[4] == ' ')
559 start++;
560 nextLine = nextLine.Substring(start);
558 nextLine = nextLine.Trim(); 561 nextLine = nextLine.Trim();
559 graph.DrawString(nextLine, myFont, myBrush, startPoint); 562 graph.DrawString(nextLine, myFont, myBrush, startPoint);
560 } 563 }