fix portability issue in OnFileActivity

This commit is contained in:
wimh 2011-06-12 01:53:38 +01:00 committed by Hylke Bons
parent c5df48ed52
commit 35c9c043dd

View file

@ -299,7 +299,7 @@ namespace SparkleLib {
// Starts a timer when something changes
public void OnFileActivity (object o, FileSystemEventArgs args)
{
if (args.FullPath.Contains ("/."))
if (args.FullPath.Contains (Path.DirectorySeparatorChar + "."))
return;
WatcherChangeTypes wct = args.ChangeType;