aboutsummaryrefslogtreecommitdiff
path: root/pianoroll.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-17 23:15:09 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:23:30 +0200
commit6bf58497fe25026cb7adcdf1a408f24c8ba955e5 (patch)
tree7efefc8281acb05d45b2bb9ffaec674deb4246a2 /pianoroll.c
parent3597f35314d4d5f1974c9236dcc427bca5adab7e (diff)
replace POSIX fopen() with Pd's new sys_fopen() to get cross-platform unicode filename support (Pd-extended 0.43.4/Pd-vanilla 0.44)
svn path=/trunk/externals/unauthorized/; revision=16902
Diffstat (limited to 'pianoroll.c')
-rw-r--r--pianoroll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pianoroll.c b/pianoroll.c
index 8a5269e..560afb9 100644
--- a/pianoroll.c
+++ b/pianoroll.c
@@ -468,7 +468,7 @@ static void pianoroll_save_file(t_pianoroll *x, t_symbol *ffile)
FILE *tmph;
t_int si;
- if ( ( tmph = fopen( ffile->s_name, "w" ) ) == NULL )
+ if ( ( tmph = sys_fopen( ffile->s_name, "w" ) ) == NULL )
{
post( "pianoroll : could not open file : %s for writing", ffile->s_name );
return;
@@ -497,7 +497,7 @@ static void pianoroll_load(t_pianoroll *x, t_symbol *ffile)
FILE *tmph;
t_int si;
- if ( ( tmph = fopen( ffile->s_name, "r" ) ) == NULL )
+ if ( ( tmph = sys_fopen( ffile->s_name, "r" ) ) == NULL )
{
post( "pianoroll : could not open file : %s for reading", ffile->s_name );
return;