diff options
author | Jeff Ames | 2009-02-13 02:52:08 +0000 |
---|---|---|
committer | Jeff Ames | 2009-02-13 02:52:08 +0000 |
commit | 163c1026d15a8f70c649d8d5880cf9fb4abb9a65 (patch) | |
tree | 8654590bb07c88c52f85c319762e4270e130e302 /OpenSim/Framework/Console/ConsoleBase.cs | |
parent | Add copyright headers. Minor formatting cleanup. Fix some compiler warnings... (diff) | |
download | opensim-SC-163c1026d15a8f70c649d8d5880cf9fb4abb9a65.zip opensim-SC-163c1026d15a8f70c649d8d5880cf9fb4abb9a65.tar.gz opensim-SC-163c1026d15a8f70c649d8d5880cf9fb4abb9a65.tar.bz2 opensim-SC-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.cs | 4 |
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); |