From 995f77efcb8d6898ef4b7d314680ef0a09abb813 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Thu, 9 Nov 2017 17:44:29 -0500
Subject: [PATCH] fix regression in tag for [draw g]

---
 pd/src/g_scalar.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/pd/src/g_scalar.c b/pd/src/g_scalar.c
index 6c0a342a8..07ebe6c13 100644
--- a/pd/src/g_scalar.c
+++ b/pd/src/g_scalar.c
@@ -785,12 +785,10 @@ static void scalar_group_configure(t_scalar *x, t_glist *owner,
 {
     t_gobj *y;
     char tagbuf[MAXPDSTRING];
-    sprintf(tagbuf, "draw%lx.%lx", (long unsigned int)gl,
+    sprintf(tagbuf, "dgroup%lx.%lx", (long unsigned int)gl,
         (long unsigned int)data);
     char parentbuf[MAXPDSTRING];
-    /* check if we're in an array-- really need to see if we can just
-       get rid of the different tag names for arrays... */
-    sprintf(parentbuf, "draw%lx.%lx",
+    sprintf(parentbuf, "dgroup%lx.%lx",
         (long unsigned int)parent,
         (long unsigned int)data);
     gui_start_vmess("gui_draw_configure_all", "xs",
-- 
GitLab