diff --git a/pd/src/s_inter.c b/pd/src/s_inter.c
index f48f501526f73144adc2948aca2fc51b7e59872e..ede74bef7d3dd265747e59645eb6e8f325abd6f7 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