Fix formatting
parent
5f11b4658e
commit
6f002733b1
|
@ -226,11 +226,14 @@ namespace OpenSim.Server.Base
|
||||||
// The path for a dynamic plugin will contain ":" on Windows
|
// The path for a dynamic plugin will contain ":" on Windows
|
||||||
string[] parts = dllName.Split (new char[] {':'});
|
string[] parts = dllName.Split (new char[] {':'});
|
||||||
|
|
||||||
if (parts [0].Length > 1) {
|
if (parts [0].Length > 1)
|
||||||
|
{
|
||||||
dllName = parts [0];
|
dllName = parts [0];
|
||||||
if (parts.Length > 1)
|
if (parts.Length > 1)
|
||||||
className = parts[1];
|
className = parts[1];
|
||||||
} else {
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
// This is Windows - we must replace the ":" in the path
|
// This is Windows - we must replace the ":" in the path
|
||||||
dllName = String.Format ("{0}:{1}", parts [0], parts [1]);
|
dllName = String.Format ("{0}:{1}", parts [0], parts [1]);
|
||||||
if (parts.Length > 2)
|
if (parts.Length > 2)
|
||||||
|
|
Loading…
Reference in New Issue