From c61bfc942d554eea3a44d3332dbd6efa647a838a Mon Sep 17 00:00:00 2001
From: Mathieu L Bouchard <matju@artengine.ca>
Date: Fri, 22 Aug 2014 20:37:18 -0400
Subject: [PATCH] fix -d 4 (and up to -d 7)

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

diff --git a/pd/src/s_inter.c b/pd/src/s_inter.c
index f48f50152..ede74bef7 100644
--- a/pd/src/s_inter.c
+++ b/pd/src/s_inter.c
@@ -715,6 +715,8 @@ void sys_vvgui(const char *fmt, va_list ap) {
     sys_guibufhead += msglen;
     sys_bytessincelastping += msglen;
     if (sys_guibufhead>0) lastend=sys_guibuf[sys_guibufhead-1];
+    if (sys_guibufhead>1 && strcmp(sys_guibuf+sys_guibufhead-2,"\\\n")==0)
+        lastend=' ';
 }
 #undef sys_vgui
 #undef sys_gui
-- 
GitLab