diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/msgfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msgfile.c b/src/msgfile.c index d8af115..35286f4 100644 --- a/src/msgfile.c +++ b/src/msgfile.c @@ -568,7 +568,7 @@ static void msgfile_read2(t_msgfile *x, t_symbol *filename, t_symbol *format) sprintf(filnam, "%s/%s", buf, bufptr); } - fil=fopen(filnam, "r"); + fil=fopen(filnam, "rb"); fseek(fil, 0, SEEK_END); if(fil==NULL) { pd_error(x, "could not open '%s'", filnam); |