--- branches/beagle-0.2.16/tools/Settings.cs 2007/08/30 19:11:54 3924 +++ branches/beagle-0.2.16/tools/Settings.cs 2007/08/30 19:37:50 3925 @@ -322,10 +322,10 @@ if (new_include == old_include) { throw_error = true; error_message = Catalog.GetString ("The selected path is already selected for indexing and wasn't added."); - } else if (new_include.StartsWith (old_include)) { + } else if (new_include.StartsWith (old_include + System.IO.Path.PathSeparator)) { throw_error = true; error_message = Catalog.GetString ("The selected path wasn't added. The list contains items that supersedes it and the data is already being indexed."); - } else if (old_include.StartsWith (new_include)) { + } else if (old_include.StartsWith (new_include + System.IO.Path.PathSeparator)) { obsolete_includes.Add (old_include); } }