aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorSean Dague2007-08-01 20:06:40 +0000
committerSean Dague2007-08-01 20:06:40 +0000
commit2333de33f1c60ab5a15cc0b524d3487e0bd4165f (patch)
tree28d0c0cfd001b4960f6c9e8a195167df04ef42e9
parentadded CookComputing.XmlRpcV2.dll to bin (as libsl now references it). Most li... (diff)
downloadopensim-SC-2333de33f1c60ab5a15cc0b524d3487e0bd4165f.zip
opensim-SC-2333de33f1c60ab5a15cc0b524d3487e0bd4165f.tar.gz
opensim-SC-2333de33f1c60ab5a15cc0b524d3487e0bd4165f.tar.bz2
opensim-SC-2333de33f1c60ab5a15cc0b524d3487e0bd4165f.tar.xz
Assume White as a console color just means "default", and don't use it.
This helps reduce confusion for linux people that have white background terminals.
-rw-r--r--OpenSim/Framework/Console/LogBase.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Framework/Console/LogBase.cs b/OpenSim/Framework/Console/LogBase.cs
index 0aa42d1..6b6c056 100644
--- a/OpenSim/Framework/Console/LogBase.cs
+++ b/OpenSim/Framework/Console/LogBase.cs
@@ -244,7 +244,9 @@ namespace OpenSim.Framework.Console
244 { 244 {
245 try 245 try
246 { 246 {
247 System.Console.ForegroundColor = color; 247 if (color != ConsoleColor.White)
248 System.Console.ForegroundColor = color;
249
248 System.Console.WriteLine(format, args); 250 System.Console.WriteLine(format, args);
249 System.Console.ResetColor(); 251 System.Console.ResetColor();
250 } 252 }