aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console/ConsoleBase.cs
diff options
context:
space:
mode:
authorJeff Ames2009-02-13 02:52:08 +0000
committerJeff Ames2009-02-13 02:52:08 +0000
commit163c1026d15a8f70c649d8d5880cf9fb4abb9a65 (patch)
tree8654590bb07c88c52f85c319762e4270e130e302 /OpenSim/Framework/Console/ConsoleBase.cs
parentAdd copyright headers. Minor formatting cleanup. Fix some compiler warnings... (diff)
downloadopensim-SC_OLD-163c1026d15a8f70c649d8d5880cf9fb4abb9a65.zip
opensim-SC_OLD-163c1026d15a8f70c649d8d5880cf9fb4abb9a65.tar.gz
opensim-SC_OLD-163c1026d15a8f70c649d8d5880cf9fb4abb9a65.tar.bz2
opensim-SC_OLD-163c1026d15a8f70c649d8d5880cf9fb4abb9a65.tar.xz
Fix some compiler warnings. Minor formatting cleanup.
Diffstat (limited to 'OpenSim/Framework/Console/ConsoleBase.cs')
-rw-r--r--OpenSim/Framework/Console/ConsoleBase.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs
index 793270b..0e7326f 100644
--- a/OpenSim/Framework/Console/ConsoleBase.cs
+++ b/OpenSim/Framework/Console/ConsoleBase.cs
@@ -293,7 +293,7 @@ namespace OpenSim.Framework.Console
293 if (s == String.Empty) 293 if (s == String.Empty)
294 { 294 {
295 CommandInfo ci = (CommandInfo)current[String.Empty]; 295 CommandInfo ci = (CommandInfo)current[String.Empty];
296 if (ci.fn.Count != null) 296 if (ci.fn.Count != 0)
297 addcr = true; 297 addcr = true;
298 } 298 }
299 else 299 else
@@ -355,7 +355,7 @@ namespace OpenSim.Framework.Console
355 if (current.ContainsKey(String.Empty)) 355 if (current.ContainsKey(String.Empty))
356 { 356 {
357 CommandInfo ci = (CommandInfo)current[String.Empty]; 357 CommandInfo ci = (CommandInfo)current[String.Empty];
358 if (ci.fn.Count == null) 358 if (ci.fn.Count == 0)
359 return new string[0]; 359 return new string[0];
360 foreach (CommandDelegate fn in ci.fn) 360 foreach (CommandDelegate fn in ci.fn)
361 fn(ci.module, result); 361 fn(ci.module, result);