From bdf8db161ece37324eb5fded91dd665dae40d31b Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Tue, 10 May 2016 21:01:52 -0400
Subject: [PATCH] fix error with too many args in format specifier

---
 pd/src/g_text.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/pd/src/g_text.c b/pd/src/g_text.c
index da32896a6..978abb8f7 100644
--- a/pd/src/g_text.c
+++ b/pd/src/g_text.c
@@ -2210,8 +2210,11 @@ void text_drawborder(t_text *x, t_glist *glist,
             //    (selected ? "$pd_colors(selection)" : "$pd_colors(atom_box_border)"),
             //        tag, tag, (selected ? "selected" : ""));
             /* These coords can be greatly simplified... */
-            gui_vmess("gui_atom_draw_border", "xsiiiiiiiiiiii",
-                glist_getcanvas(glist), tag, x2 - x1, y2 - y1);
+            gui_vmess("gui_atom_draw_border", "xsii",
+                glist_getcanvas(glist),
+                tag,
+                x2 - x1,
+                y2 - y1);
         }
         else
         {
-- 
GitLab