1

removed 'this' from parameters. Caused it to mess up else

This commit is contained in:
Jake Howard 2014-07-30 22:32:55 +01:00
parent d493438c65
commit df6a29fac6

View File

@ -8,13 +8,12 @@ namespace Saviour_Backup_System
{
class tools
{
public static string Trim(this string value, int maxLength)
public static string Trim(string value, int maxLength)
{
if (value.Length > maxLength)
{
return "..." + value.Substring(value.Length - (maxLength - 3));
}
return value;
}
}