aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_insert.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_insert.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 '')
-rw-r--r--src/i_insert.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i_insert.go b/src/i_insert.go
index 0e08f6c..1b87b3a 100644
--- a/src/i_insert.go
+++ b/src/i_insert.go
@@ -287,8 +287,8 @@ func i_draw_insert_panel(ui HardUI, in *HostNode) {
" Insert - " + in.Name + " ", true)
line := 2
if win.T + line >= win.B { return }
- i_draw_text_box(ui, win.T + line, win, "Connection type", in.protocol_str(),
- 0, ui.insert_sel, false)
+ i_draw_text_box(ui, win.T + line, win, "Connection type",
+ PROTOCOL_STR[in.Protocol], 0, ui.insert_sel, false)
line += 2
var end_line int
fp := [PROTOCOL_MAX + 1]draw_insert_func{