mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Mantis#2017. Thank you kindly, Tyre, for a patch that solves:
Check the client dialog box (from top menu) WORLD / REGION ESTATE / REGION tab. The client dialog box seems to have a hard limit of about 32 characters per line available for displaying the region version number. Our regions are sending a string which is greater than the limit, causing the client to wrap the text and look ugly.
This commit is contained in:
@@ -206,7 +206,7 @@ namespace OpenSim.Framework.Servers
|
||||
|
||||
EnhanceVersionInformation();
|
||||
|
||||
m_log.Info("[STARTUP]: Version " + m_version + "\n");
|
||||
m_log.Info("[STARTUP]: Version: " + m_version + "\n");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -395,14 +395,7 @@ namespace OpenSim.Framework.Servers
|
||||
EntriesFile.Close();
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(buildVersion))
|
||||
{
|
||||
m_version += ", SVN build r" + buildVersion;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_version += ", SVN build revision not available";
|
||||
}
|
||||
m_version += string.IsNullOrEmpty(buildVersion)? ".00000" : ("." + buildVersion + " ").Substring(0, 6);
|
||||
|
||||
// Add operating system information if available
|
||||
string OSString = "";
|
||||
@@ -421,7 +414,7 @@ namespace OpenSim.Framework.Servers
|
||||
OSString = OSString.Substring(0, 45);
|
||||
}
|
||||
|
||||
m_version += ", OS " + OSString;
|
||||
m_version += " (OS " + OSString + ")";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user