aboutsummaryrefslogtreecommitdiff
path: root/cyclone/hammer/coll.c
diff options
context:
space:
mode:
Diffstat (limited to 'cyclone/hammer/coll.c')
-rw-r--r--cyclone/hammer/coll.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/cyclone/hammer/coll.c b/cyclone/hammer/coll.c
index fc81b30..89112ce 100644
--- a/cyclone/hammer/coll.c
+++ b/cyclone/hammer/coll.c
@@ -601,11 +601,9 @@ static void collcommon_doread(t_collcommon *cc, t_symbol *fn, t_canvas *cv)
/* loading during object creation --
avoid binbuf_read()'s complaints, LATER rethink */
FILE *fp;
- char fname[MAXPDSTRING];
- sys_bashfilename(buf, fname);
- if (!(fp = fopen(fname, "r")))
+ if (!(fp = sys_fopen(buf, "r")))
{
- loud_warning(&coll_class, 0, "no coll file '%s'", fname);
+ loud_warning(&coll_class, 0, "no coll file '%s'", buf);
return;
}
fclose(fp);