aboutsummaryrefslogtreecommitdiff
path: root/cyclone/hammer/coll.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-22 16:46:29 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-22 16:46:29 +0000
commiteae942b7b4ed36f5f43edd20ae6abd9e923b96c0 (patch)
tree1b265676adc167d6f30f80ca98e56d37b182b806 /cyclone/hammer/coll.c
parentc025f3253dd48185ee556e4ef32cce794be11904 (diff)
merge in Win32 UTF-8 file/path support
svn path=/trunk/externals/miXed/; revision=16950
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);