diff src/collect-io.c @ 726:a1dcef8cd1ae

Use G_DIR_SEPARATOR where applicable.
author zas_
date Wed, 21 May 2008 11:07:23 +0000
parents d86748a2650a
children 44128da39e13
line wrap: on
line diff
--- a/src/collect-io.c	Wed May 21 11:00:13 2008 +0000
+++ b/src/collect-io.c	Wed May 21 11:07:23 2008 +0000
@@ -155,7 +155,7 @@
 			if (!flush)
 				changed |= collect_manager_process_action(entry, &buf);
 
-			valid = (buf[0] == '/' && collection_add_check(cd, file_data_new_simple(buf), FALSE, TRUE));
+			valid = (buf[0] == G_DIR_SEPARATOR && collection_add_check(cd, file_data_new_simple(buf), FALSE, TRUE));
 			if (!valid) DEBUG_1("collection invalid file: %s", buf);
 			g_free(buf);