aboutsummaryrefslogtreecommitdiffstats
path: root/c_hardflip.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c_hardflip.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/c_hardflip.go b/c_hardflip.go
index c3e871a..81c8a2e 100644
--- a/c_hardflip.go
+++ b/c_hardflip.go
@@ -50,7 +50,7 @@ package main
// the main data structure, holds up everything important
type HardData struct {
lhost *HostList
- // dirs *DirList
+ ldirs *DirList
ui HardUI
opts HardOpts
data_dir string
@@ -58,11 +58,14 @@ type HardData struct {
func main() {
data_dir := c_get_data_dir()
+ lhosts, ldirs := c_load_data_dir(data_dir)
data := HardData{
- c_load_data_dir(data_dir),
+ lhosts,
+ ldirs,
HardUI{},
HardOpts{true, true},
data_dir,
}
+
i_ui(&data)
}