aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--getfilenames.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/getfilenames.c b/getfilenames.c
index 31f2f87..cd0e344 100644
--- a/getfilenames.c
+++ b/getfilenames.c
@@ -128,7 +128,7 @@ static void normalize_path(t_getfilenames* x, char *normalized, const char *orig
static void getfilenames_matches(t_getfilenames *x)
{
t_atom output_atom;
- SETFLOAT(&output_atom, (t_float)x->glob_buffer.gl_matchc);
+ SETFLOAT(&output_atom, (t_float)x->glob_buffer.gl_pathc);
outlet_anything(x->info_outlet, ps_matches, 1, &output_atom);
}