Author: martin
Date: 2007-02-28 10:06:20 -0500 (Wed, 28 Feb 2007)
New Revision: 73557

Modified:
   trunk/debugger/frontend/Interpreter.cs
Log:
Cosmethic fix.

Modified: trunk/debugger/frontend/Interpreter.cs
===================================================================
--- trunk/debugger/frontend/Interpreter.cs      2007-02-28 14:58:04 UTC (rev 
73556)
+++ trunk/debugger/frontend/Interpreter.cs      2007-02-28 15:06:20 UTC (rev 
73557)
@@ -213,10 +213,7 @@
 
                public void Error (string message)
                {
-                       if (IsScript)
-                               Report.Error ("ERROR: {0}\n", message);
-                       else
-                               Report.Error ("ERROR: {0}\n", message);
+                       Report.Error ("ERROR: {0}", message);
                }
 
                public void Error (string format, params object[] args)
@@ -689,7 +686,7 @@
                {
                        if (!IsScript) {
                                if (is_stderr)
-                                       Report.Error ("{0}", line);
+                                       Report.Print ("{0}", line);
                                else
                                        Report.Print ("{0}", line);
                        }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to