From 3605921a53c74534f458d9ba7c03f282c6fdfcc1 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 22 Jan 2006 23:48:33 +0000 Subject: added patch for fixing the problem in menu_openhtml where it wouldn't open any files if there was a space in the file or path name. This is probably a hack, since it uses the Win32 'shortname'. It probably should use proper Tcl escaping, but this works for now. svn path=/trunk/; revision=4463 --- packages/patches/openhtml_win32_fix-0.39-2.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 packages/patches/openhtml_win32_fix-0.39-2.patch (limited to 'packages') diff --git a/packages/patches/openhtml_win32_fix-0.39-2.patch b/packages/patches/openhtml_win32_fix-0.39-2.patch new file mode 100755 index 00000000..61adfa03 --- /dev/null +++ b/packages/patches/openhtml_win32_fix-0.39-2.patch @@ -0,0 +1,11 @@ +--- u_main.tk 2006-01-16 21:03:04.937500000 -0500 ++++ /c/Program Files/pd/bin/pd.tk 2006-01-22 18:44:12.843750000 -0500 +@@ -370,7 +367,7 @@ + exec sh -c [format "open %s" $filename] + } else { + exec rundll32 url.dll,FileProtocolHandler \ +- [format "file:%s" $filename] & ++ [format "file:%s" [file attributes $filename -shortname]] & + } + } + -- cgit v1.2.1