summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nautilus-list-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-list-view.c b/src/nautilus-list-view.c
index f835d1b23..9eac2d5cc 100644
--- a/src/nautilus-list-view.c
+++ b/src/nautilus-list-view.c
@@ -1710,7 +1710,7 @@ location_cell_data_func (GtkTreeViewColumn *column,
} else if (g_file_has_prefix (dir_location, base_location)) {
gchar *relative_path;
- relative_path = g_file_get_relative_path (home_location, dir_location);
+ relative_path = g_file_get_relative_path (base_location, dir_location);
where = g_filename_display_name (relative_path);
g_free (relative_path);