diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2013-01-22 16:46:29 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2013-01-22 16:46:29 +0000 |
commit | eae942b7b4ed36f5f43edd20ae6abd9e923b96c0 (patch) | |
tree | 1b265676adc167d6f30f80ca98e56d37b182b806 /cyclone/hammer/coll.c | |
parent | c025f3253dd48185ee556e4ef32cce794be11904 (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.c | 6 |
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); |