forked from aly/qstbak
muffin v7.5.4
This commit is contained in:
parent
40d48d62b0
commit
a8f2c1df37
14 changed files with 1093 additions and 957 deletions
|
|
@ -160,17 +160,6 @@ internal sealed class DebugConfigComponent : ConfigComponent
|
|||
{
|
||||
return string.Empty;
|
||||
}
|
||||
string text = name.Substring(0, 1).ToUpperInvariant();
|
||||
string text2;
|
||||
if (name.Length <= 1)
|
||||
{
|
||||
text2 = string.Empty;
|
||||
}
|
||||
else
|
||||
{
|
||||
string text3 = name;
|
||||
text2 = text3.Substring(1, text3.Length - 1).ToLowerInvariant();
|
||||
}
|
||||
return text + text2;
|
||||
return name.Substring(0, 1).ToUpperInvariant() + ((name.Length > 1) ? name.Substring(1).ToLowerInvariant() : string.Empty);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue