aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-01-02 22:37:50 +0000
committerJustin Clark-Casey (justincc)2013-01-04 00:47:20 +0000
commit226d655f23df70f0e06217b4e8d6f8850094f83b (patch)
treee85d1fa477952d757cb87ee8821ff1af6ed15d3d /OpenSim/Framework/Console
parentminor: Allow objects to be added directly to a row on a ConsoleDisplayTable r... (diff)
downloadopensim-SC_OLD-226d655f23df70f0e06217b4e8d6f8850094f83b.zip
opensim-SC_OLD-226d655f23df70f0e06217b4e8d6f8850094f83b.tar.gz
opensim-SC_OLD-226d655f23df70f0e06217b4e8d6f8850094f83b.tar.bz2
opensim-SC_OLD-226d655f23df70f0e06217b4e8d6f8850094f83b.tar.xz
Fix indenting on ConsoleDisplayTable, align indenting on "show animations" console command
Diffstat (limited to 'OpenSim/Framework/Console')
-rw-r--r--OpenSim/Framework/Console/ConsoleDisplayTable.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Framework/Console/ConsoleDisplayTable.cs b/OpenSim/Framework/Console/ConsoleDisplayTable.cs
index 0d22206..711a337 100644
--- a/OpenSim/Framework/Console/ConsoleDisplayTable.cs
+++ b/OpenSim/Framework/Console/ConsoleDisplayTable.cs
@@ -56,7 +56,7 @@ namespace OpenSim.Framework.Console
56 public List<ConsoleDisplayTableRow> Rows { get; private set; } 56 public List<ConsoleDisplayTableRow> Rows { get; private set; }
57 57
58 /// <summary> 58 /// <summary>
59 /// Number of spaces to indent the table. 59 /// Number of spaces to indent the whole table.
60 /// </summary> 60 /// </summary>
61 public int Indent { get; set; } 61 public int Indent { get; set; }
62 62
@@ -113,7 +113,8 @@ namespace OpenSim.Framework.Console
113 113
114 for (int i = 0; i < Columns.Count; i++) 114 for (int i = 0; i < Columns.Count; i++)
115 { 115 {
116 formatSb.Append(' ', TableSpacing); 116 if (i != 0)
117 formatSb.Append(' ', TableSpacing);
117 118
118 // Can only do left formatting for now 119 // Can only do left formatting for now
119 formatSb.AppendFormat("{{{0},-{1}}}", i, Columns[i].Width); 120 formatSb.AppendFormat("{{{0},-{1}}}", i, Columns[i].Width);