aboutsummaryrefslogtreecommitdiffstats
path: root/c_hardflip.go
diff options
context:
space:
mode:
Diffstat (limited to 'c_hardflip.go')
-rw-r--r--c_hardflip.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/c_hardflip.go b/c_hardflip.go
index 27e8ef3..5ad9e8e 100644
--- a/c_hardflip.go
+++ b/c_hardflip.go
@@ -54,13 +54,16 @@ type Data struct {
// dirs *DirList
opts Opts
s tcell.Screen
+ data_dir string
}
func main() {
+ data_dir := c_get_data_dir()
data := Data{
- c_load_data_dir(c_get_data_dir()),
+ c_load_data_dir(data_dir),
Opts{true, true},
nil,
+ data_dir,
}
i_ui(&data)
}