diff options
-rwxr-xr-x | viewhtml | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -46,11 +46,10 @@ proc click {w x y} { # TODO: Handle external base address nicely # TODO: Handle /-prefixed addresses - # TODO: Use browse script instead of viewhtml directly if {0 == [regexp {^https?.*} $address]} { - exec "./viewhtml" "$baseAddress/$address" $baseAddress + exec "./browse" "$baseAddress$address" } else { - exec "./viewhtml" $address $address + exec "./browse" $address } } |