diff src/pan-view.c @ 725:eda074e91ddd

Use G_DIR_SEPARATOR_S where applicable.
author zas_
date Wed, 21 May 2008 11:00:13 +0000
parents 8268cbe682f1
children a1dcef8cd1ae
line wrap: on
line diff
--- a/src/pan-view.c	Wed May 21 10:52:38 2008 +0000
+++ b/src/pan-view.c	Wed May 21 11:00:13 2008 +0000
@@ -1162,7 +1162,7 @@
 {
 	if (!path) return;
 
-	if (strcmp(path, "/") == 0)
+	if (strcmp(path, G_DIR_SEPARATOR_S) == 0)
 		{
 		pan_warning_folder(path, pw->window);
 		return;
@@ -2570,7 +2570,7 @@
 	GtkWidget *ct_button;
 	gint hide_dlg;
 
-	if (path && strcmp(path, "/") == 0)
+	if (path && strcmp(path, G_DIR_SEPARATOR_S) == 0)
 		{
 		pan_warning_folder(path, NULL);
 		return TRUE;