diff src/pan-view.c @ 726:a1dcef8cd1ae

Use G_DIR_SEPARATOR where applicable.
author zas_
date Wed, 21 May 2008 11:07:23 +0000
parents eda074e91ddd
children 477f48ba28d8
line wrap: on
line diff
--- a/src/pan-view.c	Wed May 21 11:00:13 2008 +0000
+++ b/src/pan-view.c	Wed May 21 11:07:23 2008 +0000
@@ -1646,7 +1646,7 @@
 	image_scroll_to_point(pw->imd, pi->x + pi->width / 2, pi->y + pi->height / 2, 0.5, 0.5);
 
 	buf = g_strdup_printf("%s ( %d / %d )",
-			      (path[0] == '/') ? _("path found") : _("filename found"),
+			      (path[0] == G_DIR_SEPARATOR) ? _("path found") : _("filename found"),
 			      g_list_index(list, pi) + 1,
 			      g_list_length(list));
 	pan_search_status(pw, buf);