diff src/view_dir_tree.c @ 725:eda074e91ddd

Use G_DIR_SEPARATOR_S where applicable.
author zas_
date Wed, 21 May 2008 11:00:13 +0000
parents fbebf5cf4a55
children a1dcef8cd1ae
line wrap: on
line diff
--- a/src/view_dir_tree.c	Wed May 21 10:52:38 2008 +0000
+++ b/src/view_dir_tree.c	Wed May 21 11:00:13 2008 +0000
@@ -231,7 +231,7 @@
 
 	list = g_list_reverse(list);
 
-	list = g_list_prepend(list, g_strdup("/"));
+	list = g_list_prepend(list, g_strdup(G_DIR_SEPARATOR_S));
 
 	return list;
 }
@@ -895,7 +895,7 @@
 
 static void vdtree_setup_root(ViewDir *vd)
 {
-	const gchar *path = "/";
+	const gchar *path = G_DIR_SEPARATOR_S;
 	FileData *fd;