diff src/view_file_list.c @ 702:e07895754e65

Drop concat_dir_and_file() and use g_build_filename() instead.
author zas_
date Tue, 20 May 2008 22:09:04 +0000
parents 8268cbe682f1
children a1dcef8cd1ae
line wrap: on
line diff
--- a/src/view_file_list.c	Tue May 20 22:00:14 2008 +0000
+++ b/src/view_file_list.c	Tue May 20 22:09:04 2008 +0000
@@ -381,8 +381,8 @@
 
 	if (strlen(new) == 0) return FALSE;
 
-	old_path = concat_dir_and_file(vf->path, old);
-	new_path = concat_dir_and_file(vf->path, new);
+	old_path = g_build_filename(vf->path, old, NULL);
+	new_path = g_build_filename(vf->path, new, NULL);
 
 	if (strchr(new, '/') != NULL)
 		{