From 4dba8e06840efa789616e20b8eed52dd85f78ca0 Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Wed, 14 Jan 2009 21:38:14 +0000 Subject: 0.42-2 - setuid and find bug fixes svn path=/trunk/; revision=10556 --- pd/src/m_binbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pd/src/m_binbuf.c') diff --git a/pd/src/m_binbuf.c b/pd/src/m_binbuf.c index a895bc67..05ef1888 100644 --- a/pd/src/m_binbuf.c +++ b/pd/src/m_binbuf.c @@ -1330,7 +1330,7 @@ int binbuf_match(t_binbuf *inbuf, t_binbuf *searchbuf, int wholeword) } else if (a1->a_type == A_SYMBOL || a1->a_type == A_DOLLSYM) { - if ((a2->a_type != A_SYMBOL && a2->a_type == A_DOLLSYM) + if ((a2->a_type != A_SYMBOL && a2->a_type != A_DOLLSYM) || (wholeword && a1->a_w.w_symbol != a2->a_w.w_symbol) || (!wholeword && !strstr(a1->a_w.w_symbol->s_name, a2->a_w.w_symbol->s_name))) -- cgit v1.2.1