Remove OS version crap from about dialog

avinationmerge
Melanie 2009-11-26 18:04:58 +00:00
parent bd3b9f79c2
commit ad2f0a1290
1 changed files with 13 additions and 13 deletions

View File

@ -990,19 +990,19 @@ namespace OpenSim.Framework
{ {
string os = String.Empty; string os = String.Empty;
if (Environment.OSVersion.Platform != PlatformID.Unix) // if (Environment.OSVersion.Platform != PlatformID.Unix)
{ // {
os = Environment.OSVersion.ToString(); // os = Environment.OSVersion.ToString();
} // }
else // else
{ // {
os = ReadEtcIssue(); // os = ReadEtcIssue();
} // }
//
if (os.Length > 45) // if (os.Length > 45)
{ // {
os = os.Substring(0, 45); // os = os.Substring(0, 45);
} // }
return os; return os;
} }