From 978adcb05cbcceac9c180e4979adb25b286e0a48 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Mon, 23 Jan 2017 19:31:25 -0500
Subject: [PATCH] fix #228: use pd-l2ork paths in sys_setextrapath

---
 pd/src/s_path.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pd/src/s_path.c b/pd/src/s_path.c
index 83bab45a2..8fcde1e2a 100644
--- a/pd/src/s_path.c
+++ b/pd/src/s_path.c
@@ -310,15 +310,15 @@ void sys_setextrapath(const char *p)
 #endif
 
 #ifdef __APPLE__
-    sys_expandpath("~/Library/Pd", pathbuf);
+    sys_expandpath("~/Library/Pd-l2ork", pathbuf);
     pd_extrapath = namelist_append(0, pathbuf, 0);
-    pd_extrapath = namelist_append(pd_extrapath, "/Library/Pd", 0);
+    pd_extrapath = namelist_append(pd_extrapath, "/Library/Pd-l2ork", 0);
 #endif
 
 #ifdef _WIN32
-    sys_expandpath("%AppData%/Pd", pathbuf);
+    sys_expandpath("%AppData%/Pd-l2ork", pathbuf);
     pd_extrapath = namelist_append(0, pathbuf, 0);
-    sys_expandpath("%CommonProgramFiles%/Pd", pathbuf);
+    sys_expandpath("%CommonProgramFiles%/Pd-l2ork", pathbuf);
     pd_extrapath = namelist_append(pd_extrapath, pathbuf, 0);
 #endif
     /* add built-in "extra" path last so its checked last */
-- 
GitLab