rename private field ACD.ViewerInternal to m_viewerInternal in line with conventions used elsewhere in code

link-sitting
Justin Clark-Casey (justincc) 2013-11-19 23:39:52 +00:00
parent b71952df49
commit f9984a9685
1 changed files with 6 additions and 5 deletions

View File

@ -128,27 +128,28 @@ namespace OpenSim.Framework
/// <summary>
/// Viewer's version string as reported by the viewer at login
/// </summary>
private string ViewerInternal;
private string m_viewerInternal;
/// <summary>
/// Viewer's version string
/// </summary>
public string Viewer
{
set { ViewerInternal = value; }
set { m_viewerInternal = value; }
// Try to return consistent viewer string taking into account
// that viewers have chaagned how version is reported
// See http://opensimulator.org/mantis/view.php?id=6851
get
{
// Old style version string contains viewer name followed by a space followed by a version number
if (ViewerInternal == null || ViewerInternal.Contains(" "))
if (m_viewerInternal == null || m_viewerInternal.Contains(" "))
{
return ViewerInternal;
return m_viewerInternal;
}
else // New style version contains no spaces, just version number
{
return Channel + " " + ViewerInternal;
return Channel + " " + m_viewerInternal;
}
}
}