aboutsummaryrefslogtreecommitdiff
path: root/packages/patches/allow_spaces_in_new_directory-0.41.4.patch
blob: 9675a1f3a8005b493e0da19537acb2c55d151288 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: u_main.tk
===================================================================
--- u_main.tk	(revision 9735)
+++ u_main.tk	(working copy)
@@ -413,7 +413,8 @@
 proc menu_new {} {
     global untitled_number
     global untitled_directory
-    pd [concat pd filename Untitled-$untitled_number $untitled_directory \;]
+    pd [concat pd filename Untitled-$untitled_number \
+			[pdtk_enquote $untitled_directory] \;]
     pd {
         #N canvas;
         #X pop 1;