From c2a6b33ed5c7686421c66fa90fe18e1d7a14b7ec Mon Sep 17 00:00:00 2001 From: "N.N." Date: Wed, 4 Jun 2003 11:50:15 +0000 Subject: mtr read/write, etc. svn path=/trunk/externals/miXed/; revision=682 --- cyclone/hammer/minimum.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cyclone/hammer/minimum.c') diff --git a/cyclone/hammer/minimum.c b/cyclone/hammer/minimum.c index 466b6f8..415235d 100644 --- a/cyclone/hammer/minimum.c +++ b/cyclone/hammer/minimum.c @@ -5,6 +5,8 @@ #include "m_pd.h" #include "common/loud.h" +#define MINIMUM_C74MAXITEMS 256 + typedef struct _minimum { t_object x_ob; @@ -27,7 +29,8 @@ static void minimum_float(t_minimum *x, t_float f) static void minimum_list(t_minimum *x, t_symbol *s, int ac, t_atom *av) { - if (ac > 256) loud_incompatible_max(*(t_pd *)x, 256, "items"); + if (ac > MINIMUM_C74MAXITEMS) + loud_incompatible_max(*(t_pd *)x, MINIMUM_C74MAXITEMS, "items"); while (ac && av->a_type != A_FLOAT) ac--, av++; /* CHECKME (a warning?) */ if (ac) { -- cgit v1.2.1