Fix compile error. Closes #375

This commit is contained in:
Hylke Bons 2011-10-24 15:33:37 +01:00
parent b2f02ae8fe
commit 2fba6f4bb7

View file

@ -86,12 +86,13 @@ namespace SparkleLib {
DateTime unix_epoch = new DateTime (1970, 1, 1, 0, 0, 0, 0);
return unix_epoch.AddSeconds (timestamp);
}
}
// Gets the relative path of two hierarchical absolute paths
public static string DiffPaths (string target, string source)
{
return target.Replace (source + Path.DirectorySeparatorChar, "");
// Gets the relative path of two hierarchical absolute paths
public static string DiffPaths (string target, string source)
{
return target.Replace (source + Path.DirectorySeparatorChar, "");
}
}
}