From: Pat Thoyts Date: Mon, 23 Aug 2010 21:37:17 +0000 (+0100) Subject: Fix broken calling of url handlers. X-Git-Url: https://privyetmir.co.uk/gitweb.cgi?a=commitdiff_plain;h=12f1d0dd0be06b9bef826ab2724900403a03a202;p=Bullfrog Fix broken calling of url handlers. Signed-off-by: Pat Thoyts --- diff --git a/bin/bullfrog.tcl b/bin/bullfrog.tcl index a7fe920..d0ca0e2 100644 --- a/bin/bullfrog.tcl +++ b/bin/bullfrog.tcl @@ -544,7 +544,7 @@ proc GotoURL {w url} { if {$Browser eq ""} { foreach {display exe arg} $Browsers { if {[llength [auto_execok $exe]] != 0} { - set Browser [linsert [auto_execok $exe] end $arg] + set Browser "$cmd $arg" ;# ensure empty arg vanishes break } }