changeset 703:911e3769b60c

Use g_build_filename() instead of g_strconcat().
author zas_
date Tue, 20 May 2008 22:11:59 +0000
parents e07895754e65
children 839525c4e85f
files src/ui_fileops.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ui_fileops.c	Tue May 20 22:09:04 2008 +0000
+++ b/src/ui_fileops.c	Tue May 20 22:11:59 2008 +0000
@@ -708,7 +708,7 @@
 		while (path[e] != ':' && path[e] != '\0') e++;
 		path[e] = '\0';
 		e++;
-		f = g_strconcat(path + p, "/", namel, NULL);
+		f = g_build_filename(path + p, namel, NULL);
 		if (isfile(f)) ret = TRUE;
 		g_free(f);
 		p = e;