Mercurial > geeqie.yaz
comparison src/ui_fileops.c @ 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 |
comparison
equal
deleted
inserted
replaced
702:e07895754e65 | 703:911e3769b60c |
---|---|
706 gchar *f; | 706 gchar *f; |
707 gint e = p; | 707 gint e = p; |
708 while (path[e] != ':' && path[e] != '\0') e++; | 708 while (path[e] != ':' && path[e] != '\0') e++; |
709 path[e] = '\0'; | 709 path[e] = '\0'; |
710 e++; | 710 e++; |
711 f = g_strconcat(path + p, "/", namel, NULL); | 711 f = g_build_filename(path + p, namel, NULL); |
712 if (isfile(f)) ret = TRUE; | 712 if (isfile(f)) ret = TRUE; |
713 g_free(f); | 713 g_free(f); |
714 p = e; | 714 p = e; |
715 } | 715 } |
716 g_free(namel); | 716 g_free(namel); |