From 042fd57801cb4babc2be528cd3c30b832dbb7121 Mon Sep 17 00:00:00 2001
From: Ivica Ico Bukvic <ico@vt.edu>
Date: Wed, 31 Jul 2013 14:13:58 -0400
Subject: [PATCH] fixed weird formatting of tooltips due to misinterpreted \n

---
 pd/src/pd.tk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pd/src/pd.tk b/pd/src/pd.tk
index b9004c7ea..2394c1ebe 100644
--- a/pd/src/pd.tk
+++ b/pd/src/pd.tk
@@ -8392,7 +8392,8 @@ proc pdtk_gettip { w item xletno name helpname dir } {
     }
     # make Pd's comma atoms look pretty
     regsub -all { \\,} $msg {,} msg
-    regsub -all {\n\\,} $msg ",\n" msg
+    regsub -all {\n} $msg " " msg
+    #regsub -all {\n\\,} $msg ",\n" msg
     pdtk_tip $w 0 1 $msg
 }
 
-- 
GitLab