From 7980ee0daaa24253436f27cabf72f34ae540dee8 Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 23 Sep 2024 15:05:04 +0200 Subject: fixed segv --- src/i_host.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/i_host.go') diff --git a/src/i_host.go b/src/i_host.go index 04167a6..ed4ac77 100644 --- a/src/i_host.go +++ b/src/i_host.go @@ -51,8 +51,6 @@ package main -import "fmt" - func i_host_panel_dirs(ui HardUI, icons bool, dir_icon uint8, dir *DirsNode, curr *DirsNode, line int) { style := ui.style[DIR_STYLE] @@ -121,10 +119,6 @@ func i_draw_host_panel(ui HardUI, icons bool, } for ptr := litems.draw; ptr != nil && line < ui.dim[H] - 2; ptr = ptr.next { if ptr.is_dir() == false && ptr.Host != nil { - fmt.Println(ptr); - fmt.Println(ptr.ID); - fmt.Println(ptr.Host); - fmt.Println(ptr.Host.parent); i_host_panel_host(ui, icons, ptr.Host.parent.Depth, -- cgit v1.2.3