diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-01-22 23:48:33 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-01-22 23:48:33 +0000 |
commit | 3605921a53c74534f458d9ba7c03f282c6fdfcc1 (patch) | |
tree | 555085ed257d7c0a6d9be0baa8b3e55160e56617 /packages | |
parent | 6e1b3118c20779db950bcb7791b2a1856ce5b13a (diff) |
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
Diffstat (limited to 'packages')
-rwxr-xr-x | packages/patches/openhtml_win32_fix-0.39-2.patch | 11 |
1 files changed, 11 insertions, 0 deletions
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]] & + } + } + |