aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_info.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-04-12 20:20:20 +0200
committerJoe <rbo@gmx.us>2024-04-12 20:20:20 +0200
commit8c8f4bfa2dcf7aaee2e0e7b364a667a28272e6e8 (patch)
tree5b26bbfd8f0044d3c30914200375f51ef2a5d705 /src/i_info.go
parentcommit (diff)
downloadhardflip-8c8f4bfa2dcf7aaee2e0e7b364a667a28272e6e8.tar.gz
hardflip-8c8f4bfa2dcf7aaee2e0e7b364a667a28272e6e8.tar.bz2
hardflip-8c8f4bfa2dcf7aaee2e0e7b364a667a28272e6e8.tar.xz
hardflip-8c8f4bfa2dcf7aaee2e0e7b364a667a28272e6e8.tar.zst
hardflip-8c8f4bfa2dcf7aaee2e0e7b364a667a28272e6e8.zip
go
Diffstat (limited to 'src/i_info.go')
-rw-r--r--src/i_info.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i_info.go b/src/i_info.go
index 7efd683..dc1d70b 100644
--- a/src/i_info.go
+++ b/src/i_info.go
@@ -86,7 +86,7 @@ func i_info_dirs(ui HardUI, dir *DirsNode) {
func i_info_name_type(ui HardUI, host *HostNode) int {
line := 2
if line > ui.dim[H] - 3 { return line }
- host_type := host.protocol_str()
+ host_type := PROTOCOL_STR[host.Protocol]
// name, type
i_draw_text(ui.s,
(ui.dim[W] / 3) + 3, line, ui.dim[W] - 2, line,