From e48012103faf74228dcddf6affb1f35ae0f99075 Mon Sep 17 00:00:00 2001
From: Sojourner Truth <jon.w.wilkes@gmail.com>
Date: Mon, 11 Jul 2016 00:25:44 -0400
Subject: [PATCH] fix bug from adding unnecessary quotes in previous commit

---
 pd/src/s_inter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pd/src/s_inter.c b/pd/src/s_inter.c
index 33e6dc076..896833d4a 100644
--- a/pd/src/s_inter.c
+++ b/pd/src/s_inter.c
@@ -1416,7 +1416,7 @@ fprintf(stderr, "guidir is %s\n", guidir);
         //strcat(scriptbuf, "/" PDBINDIR "pd.tk\"");
         //sys_bashfilename(scriptbuf, scriptbuf);
 
-        sprintf("scriptbuf", "\""); /* use quotes in case there are spaces */
+        sprintf(scriptbuf, "\""); /* use quotes in case there are spaces */
         strcat(scriptbuf, sys_libdir->s_name);
         strcat(scriptbuf, "/" PDBINDIR);
         sys_bashfilename(scriptbuf, scriptbuf);
-- 
GitLab