diff src/layout.c @ 725:eda074e91ddd

Use G_DIR_SEPARATOR_S where applicable.
author zas_
date Wed, 21 May 2008 11:00:13 +0000
parents a3218946bd2d
children a1dcef8cd1ae
line wrap: on
line diff
--- a/src/layout.c	Wed May 21 10:52:38 2008 +0000
+++ b/src/layout.c	Wed May 21 11:00:13 2008 +0000
@@ -150,7 +150,7 @@
 			{
 			gint pos = -1;
 			/* put the '/' back, if we are in tab completion for a dir and result was path change */
-			gtk_editable_insert_text(GTK_EDITABLE(lw->path_entry), "/", -1, &pos);
+			gtk_editable_insert_text(GTK_EDITABLE(lw->path_entry), G_DIR_SEPARATOR_S, -1, &pos);
 			gtk_editable_set_position(GTK_EDITABLE(lw->path_entry),
 						  strlen(gtk_entry_get_text(GTK_ENTRY(lw->path_entry))));
 			}