diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2011-09-27 13:12:11 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2011-09-27 13:12:11 +0000 |
commit | 29de46caad9e8da79d9317041c88989b03a5317d (patch) | |
tree | 46931e96d38f4f9ddf59ec61305734e5966cf989 /src | |
parent | 6cbe6e38f0aa1944d8f6a080599cbb8c3c1e2918 (diff) |
fixed call to pd_error()
svn path=/trunk/externals/zexy/; revision=15364
Diffstat (limited to 'src')
-rw-r--r-- | src/freadln.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freadln.c b/src/freadln.c index 244b8c6..58f5e9c 100644 --- a/src/freadln.c +++ b/src/freadln.c @@ -111,7 +111,7 @@ static void freadln_open (t_freadln *x, t_symbol *s, t_symbol*type) strcpy(x->x_filename+len,"/"); strcpy(x->x_filename+len+1,s->s_name); if (!(x->x_file=fopen(x->x_filename, "r"))) { - pd_error("freadln: failed to open %128s",filenamebuf); + pd_error(x, "freadln: failed to open %128s",filenamebuf); return; } if (!(x->x_textbuf = (char *) getbytes (MIN_FREADLN_LENGTH * sizeof(char)))) { |