Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 5b2e61b5423c703c80579c4353bbd23f > files > 8

beagle-0.2.18-7mdv2008.0.src.rpm

--- 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);
 				}
 			}