diff options
author | Justin Clark-Casey (justincc) | 2013-01-02 22:11:13 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-01-02 22:11:13 +0000 |
commit | 6b55f5183787fb719c7bd4547e5894096a7aed51 (patch) | |
tree | 328f86dd8b4ff902bc88b5a03633a04ae20cc7be /OpenSim/Framework/Console/ConsoleDisplayTable.cs | |
parent | Implemented Return Objects when it's invoked from the Top Colliders or Top Sc... (diff) | |
download | opensim-SC-6b55f5183787fb719c7bd4547e5894096a7aed51.zip opensim-SC-6b55f5183787fb719c7bd4547e5894096a7aed51.tar.gz opensim-SC-6b55f5183787fb719c7bd4547e5894096a7aed51.tar.bz2 opensim-SC-6b55f5183787fb719c7bd4547e5894096a7aed51.tar.xz |
minor: Allow objects to be added directly to a row on a ConsoleDisplayTable rather than having to ToString() them first
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Console/ConsoleDisplayTable.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Console/ConsoleDisplayTable.cs b/OpenSim/Framework/Console/ConsoleDisplayTable.cs index c6f2272..0d22206 100644 --- a/OpenSim/Framework/Console/ConsoleDisplayTable.cs +++ b/OpenSim/Framework/Console/ConsoleDisplayTable.cs | |||
@@ -84,7 +84,7 @@ namespace OpenSim.Framework.Console | |||
84 | Columns.Add(new ConsoleDisplayTableColumn(name, width)); | 84 | Columns.Add(new ConsoleDisplayTableColumn(name, width)); |
85 | } | 85 | } |
86 | 86 | ||
87 | public void AddRow(params string[] cells) | 87 | public void AddRow(params object[] cells) |
88 | { | 88 | { |
89 | Rows.Add(new ConsoleDisplayTableRow(cells)); | 89 | Rows.Add(new ConsoleDisplayTableRow(cells)); |
90 | } | 90 | } |