aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs b/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
index 188c639..a012093 100644
--- a/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
+++ b/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
@@ -685,12 +685,12 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender
685 case "S": 685 case "S":
686 myFontStyle |= FontStyle.Strikeout; 686 myFontStyle |= FontStyle.Strikeout;
687 break; 687 break;
688 case "R": 688 case "R": //This special case resets all font properties
689 myFontStyle = FontStyle.Regular; 689 myFontStyle = FontStyle.Regular;
690 break; 690 break;
691 } 691 }
692 } 692 }
693 if(myFontStyle != myFont.Style) 693 if (myFontStyle != myFont.Style)
694 { 694 {
695 Font newFont = new Font(myFont, myFontStyle); 695 Font newFont = new Font(myFont, myFontStyle);
696 myFont.Dispose(); 696 myFont.Dispose();