diff options
author | Justin Clark-Casey (justincc) | 2013-01-02 22:37:50 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-01-02 22:37:50 +0000 |
commit | 8f31649faddfc2f7a28131f592b1e79ae75b863f (patch) | |
tree | 6be39f6d737792da1f32d523f2c9b01b460666a4 /OpenSim/Framework/Console | |
parent | minor: minor code and log formatting fixes to recent changes in LandManagemen... (diff) | |
download | opensim-SC-8f31649faddfc2f7a28131f592b1e79ae75b863f.zip opensim-SC-8f31649faddfc2f7a28131f592b1e79ae75b863f.tar.gz opensim-SC-8f31649faddfc2f7a28131f592b1e79ae75b863f.tar.bz2 opensim-SC-8f31649faddfc2f7a28131f592b1e79ae75b863f.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.cs | 5 |
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); |