diff options
Diffstat (limited to 'pd/src/m_binbuf.c')
-rw-r--r-- | pd/src/m_binbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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))) |