dlr-languages (20090805+git.e6b28d27+dfsg-3) fix_foreground_color.patch

Summary

 Merlin/Main/Runtime/Microsoft.Scripting/Hosting/Shell/BasicConsole.cs |    8 --------
 1 file changed, 8 deletions(-)

    
download this patch

Patch contents

--- git.orig/Merlin/Main/Runtime/Microsoft.Scripting/Hosting/Shell/BasicConsole.cs
+++ git/Merlin/Main/Runtime/Microsoft.Scripting/Hosting/Shell/BasicConsole.cs
@@ -105,16 +105,8 @@
         }
 
         protected void WriteColor(TextWriter output, string str, ConsoleColor c) {
-#if !SILVERLIGHT // Console.ForegroundColor
-            ConsoleColor origColor = Console.ForegroundColor;
-            Console.ForegroundColor = c;
-#endif
             output.Write(str);
             output.Flush();
-
-#if !SILVERLIGHT // Console.ForegroundColor
-            Console.ForegroundColor = origColor;
-#endif
         }
 
         #region IConsole Members