Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Pryor <jpryor@novell.com>2002-12-20 03:04:00 +0300
committerJonathan Pryor <jpryor@novell.com>2002-12-20 03:04:00 +0300
commit1f73687f9003c6f9bc1585fdd9fb8ef33f827508 (patch)
tree9c71b9ccfc331f8955ea59ff2640cc715eaee7ad /mcs/class/System/System.Diagnostics/TraceListenerCollection.cs
parent1eb5d4634b15eda225b38bbe78cc93abb771fbe9 (diff)
IndentLevel and IndentSize shouldn't be hardcoded; they should be set to
whatever TraceImpl is using (which in turn may have been set by the .config file, so we should get the user-specified values in added listeners). svn path=/trunk/mcs/; revision=9787
Diffstat (limited to 'mcs/class/System/System.Diagnostics/TraceListenerCollection.cs')
-rw-r--r--mcs/class/System/System.Diagnostics/TraceListenerCollection.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/System/System.Diagnostics/TraceListenerCollection.cs b/mcs/class/System/System.Diagnostics/TraceListenerCollection.cs
index 1ee4a98e8bd..8d32414efbc 100644
--- a/mcs/class/System/System.Diagnostics/TraceListenerCollection.cs
+++ b/mcs/class/System/System.Diagnostics/TraceListenerCollection.cs
@@ -80,8 +80,8 @@ namespace System.Diagnostics {
private void InitializeListener (TraceListener listener)
{
- listener.IndentLevel = 0;
- listener.IndentSize = 4;
+ listener.IndentLevel = TraceImpl.IndentLevel;
+ listener.IndentSize = TraceImpl.IndentSize;
}
private void InitializeRange (IList listeners)