[PD-cvs] packages/patches openhtml_win32_fix-0.39-2.patch,NONE,1.1

Hans-Christoph Steiner eighthave at users.sourceforge.net
Mon Jan 23 00:48:36 CET 2006


Update of /cvsroot/pure-data/packages/patches
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23197

Added Files:
	openhtml_win32_fix-0.39-2.patch 
Log Message:
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.

--- NEW FILE: openhtml_win32_fix-0.39-2.patch ---
--- 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]] &
 	 }
 }
 





More information about the Pd-cvs mailing list