From b9bdce26e914dd18bb226ba0426b1cd61d6e33f9 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jancsika@yahoo.com>
Date: Sun, 12 Oct 2014 17:09:56 -0400
Subject: [PATCH] bugfix for format string without a corresponding variable

---
 pd/extra/expr~/vexp_if.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pd/extra/expr~/vexp_if.c b/pd/extra/expr~/vexp_if.c
index a3499f456..f8c757120 100644
--- a/pd/extra/expr~/vexp_if.c
+++ b/pd/extra/expr~/vexp_if.c
@@ -281,7 +281,7 @@ Nexpr_new(t_symbol *s, int ac, t_atom *av)
                 x = (t_expr *)pd_new(fexpr_tilde_class);
                 SET_FEXPR_TILDE(x);
         } else {
-                post("expr_new: bad object name '%s'");
+                post("expr_new: bad object name '%s'", s->s_name);
                 /* assume expr */
                 x = (t_expr *)pd_new(expr_class);
                 SET_EXPR(x);
-- 
GitLab