summaryrefslogtreecommitdiff
path: root/viewhtml
diff options
context:
space:
mode:
Diffstat (limited to 'viewhtml')
-rwxr-xr-xviewhtml5
1 files changed, 2 insertions, 3 deletions
diff --git a/viewhtml b/viewhtml
index cdb5ee3..7303da2 100755
--- a/viewhtml
+++ b/viewhtml
@@ -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
}
}