[PD-dev] tcl 8.5 help browser bug and a fix

ico at vt.edu ico at vt.edu
Wed Feb 21 04:31:12 CET 2007


> Make a patch using diff -uw and submit it to the patch tracker.

Since I am not familiar with the patch tracker, below is the plain-text version.
Please also see attached file if this list also accepts attachments like gem-dev
does. The fix is rather simple and should be straightforward to understand.

P.S. This is a patch applied against a freshly updated CVS checkout.

Many thanks!

Best wishes,

Ico

--- u_main.tk	2007-02-20 22:20:41.000000000 -0500
+++ u_main.tk.new	2007-02-18 18:37:09.000000000 -0500
@@ -435,7 +435,7 @@
 	# check for [file readable]?
 	if { [info tclversion] >= 8.5 } {
 		# requires Tcl 8.5 but probably deals with special chars better
-#		destroy {expand}[lrange [winfo children $base] [expr {2 * $count}] end]
+		destroy {expand}[lrange [winfo children $base] [expr {2 * $count}] end]
 	} else {
 		if { [catch { eval destroy [lrange [winfo children $base] \
 										[expr { 2 * $count }] end] } \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: u_main.tk.patch
Type: text/x-patch
Size: 525 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20070220/043e2c66/attachment.bin>


More information about the Pd-dev mailing list