aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Console')
-rw-r--r--OpenSim/Framework/Console/ConsoleBase.cs2
-rw-r--r--OpenSim/Framework/Console/OpenSimAppender.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs
index 0b22d0e..b336545 100644
--- a/OpenSim/Framework/Console/ConsoleBase.cs
+++ b/OpenSim/Framework/Console/ConsoleBase.cs
@@ -66,7 +66,7 @@ namespace OpenSim.Framework.Console
66 /// </summary> 66 /// </summary>
67 /// <param name="input">arbitrary string for input</param> 67 /// <param name="input">arbitrary string for input</param>
68 /// <returns>an ansii color</returns> 68 /// <returns>an ansii color</returns>
69 private ConsoleColor DeriveColor(string input) 69 private static ConsoleColor DeriveColor(string input)
70 { 70 {
71 int colIdx = (input.ToUpper().GetHashCode() % 6) + 9; 71 int colIdx = (input.ToUpper().GetHashCode() % 6) + 9;
72 return (ConsoleColor) colIdx; 72 return (ConsoleColor) colIdx;
diff --git a/OpenSim/Framework/Console/OpenSimAppender.cs b/OpenSim/Framework/Console/OpenSimAppender.cs
index 86df3c0..d381179 100644
--- a/OpenSim/Framework/Console/OpenSimAppender.cs
+++ b/OpenSim/Framework/Console/OpenSimAppender.cs
@@ -101,7 +101,7 @@ namespace OpenSim.Framework.Console
101 } 101 }
102 } 102 }
103 103
104 private ConsoleColor DeriveColor(string input) 104 private static ConsoleColor DeriveColor(string input)
105 { 105 {
106 int colIdx = (input.ToUpper().GetHashCode() % 6) + 9; 106 int colIdx = (input.ToUpper().GetHashCode() % 6) + 9;
107 return (ConsoleColor) colIdx; 107 return (ConsoleColor) colIdx;