diff src/filedata.c @ 725:eda074e91ddd

Use G_DIR_SEPARATOR_S where applicable.
author zas_
date Wed, 21 May 2008 11:00:13 +0000
parents d4a68dfa6819
children f73df252aa05
line wrap: on
line diff
--- a/src/filedata.c	Wed May 21 10:52:38 2008 +0000
+++ b/src/filedata.c	Wed May 21 11:00:13 2008 +0000
@@ -139,7 +139,7 @@
 static void file_data_set_path(FileData *fd, const gchar *path)
 {
 
-	if (strcmp(path, "/") == 0)
+	if (strcmp(path, G_DIR_SEPARATOR_S) == 0)
 		{
 		fd->path = g_strdup(path);
 		fd->name = fd->path;