diff options
author | Joe <rbo@gmx.us> | 2024-04-10 20:20:20 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-04-10 20:20:20 +0200 |
commit | 2b184f39542f0ae754a22c36da1d83fe2e3e1a29 (patch) | |
tree | abf8fbac9146e3ca13959647b5ab99a6acfddc46 /src/i_host.go | |
parent | cool (diff) | |
download | hardflip-2b184f39542f0ae754a22c36da1d83fe2e3e1a29.tar.gz hardflip-2b184f39542f0ae754a22c36da1d83fe2e3e1a29.tar.bz2 hardflip-2b184f39542f0ae754a22c36da1d83fe2e3e1a29.tar.xz hardflip-2b184f39542f0ae754a22c36da1d83fe2e3e1a29.tar.zst hardflip-2b184f39542f0ae754a22c36da1d83fe2e3e1a29.zip |
fixin segv
Diffstat (limited to '')
-rw-r--r-- | src/i_host.go | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/i_host.go b/src/i_host.go index 903f556..829a1d9 100644 --- a/src/i_host.go +++ b/src/i_host.go @@ -111,13 +111,13 @@ func i_draw_host_panel(ui HardUI, icons bool, return } for ptr := litems.draw; ptr != nil && line < ui.dim[H] - 2; ptr = ptr.next { - if ptr.is_dir() == false && ptr.Host != nil { + if ptr.is_dir() == false && ptr.Host != nil { i_host_panel_host(ui, - icons, - ptr.Host.parent.Depth, - ptr.Host, - litems.curr.Host, - line) + icons, + ptr.Host.parent.Depth, + ptr.Host, + litems.curr.Host, + line) line++ } else if ptr.Dirs != nil { var dir_icon uint8 @@ -125,9 +125,9 @@ func i_draw_host_panel(ui HardUI, icons bool, dir_icon = 1 } i_host_panel_dirs(ui, icons, dir_icon, - ptr.Dirs, - litems.curr.Dirs, - line) + ptr.Dirs, + litems.curr.Dirs, + line) line++ } } |