From 6d3d4743b01e15a82444b2ca900b60094e3c1800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 30 Nov 2009 09:02:22 +0000 Subject: made prefix buffer hold 3 bytes (as suggested by claude; closes #2838114) svn path=/trunk/externals/zexy/; revision=12815 --- src/fwriteln.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fwriteln.c') diff --git a/src/fwriteln.c b/src/fwriteln.c index 45e45ea..15d490d 100644 --- a/src/fwriteln.c +++ b/src/fwriteln.c @@ -192,7 +192,7 @@ static void *fwriteln_new(t_symbol *s, int argc, t_atom *argv) char float_format[3]="g "; char width_str[3]=""; char precision_str[4]=""; - char prefix[2]="%"; + char prefix[3]="%"; t_fwriteln *x = (t_fwriteln *)pd_new(fwriteln_class); x->x_filename=0; x->x_file=0; -- cgit v1.2.1