From 12f1d0dd0be06b9bef826ab2724900403a03a202 Mon Sep 17 00:00:00 2001
From: Pat Thoyts <patthoyts@users.sourceforge.net>
Date: Mon, 23 Aug 2010 22:37:17 +0100
Subject: [PATCH] Fix broken calling of url handlers.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
---
 bin/bullfrog.tcl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
                         }
                     }
-- 
2.23.0