projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73e10c6
)
Use g_build_filename() instead of g_strconcat().
author
Laurent Monin
<geeqie@norz.org>
Tue, 20 May 2008 22:11:59 +0000
(22:11 +0000)
committer
Laurent Monin
<geeqie@norz.org>
Tue, 20 May 2008 22:11:59 +0000
(22:11 +0000)
src/ui_fileops.c
patch
|
blob
|
history
diff --git
a/src/ui_fileops.c
b/src/ui_fileops.c
index
3f30b9b
..
aa40697
100644
(file)
--- a/
src/ui_fileops.c
+++ b/
src/ui_fileops.c
@@
-708,7
+708,7
@@
gint file_in_path(const gchar *name)
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;