aboutsummaryrefslogtreecommitdiffstats
path: root/c_hardflip.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2023-12-20 20:20:20 +0100
committerJoe <rbo@gmx.us>2023-12-20 20:20:20 +0100
commit2e54711df0a7d064fd45fe1e10a5b8675b2ed459 (patch)
treefccb2fd1fd9857515a8ff35da6d3bf2d60d7962a /c_hardflip.go
parentfix (diff)
downloadhardflip-2e54711df0a7d064fd45fe1e10a5b8675b2ed459.tar.gz
hardflip-2e54711df0a7d064fd45fe1e10a5b8675b2ed459.tar.bz2
hardflip-2e54711df0a7d064fd45fe1e10a5b8675b2ed459.tar.xz
hardflip-2e54711df0a7d064fd45fe1e10a5b8675b2ed459.tar.zst
hardflip-2e54711df0a7d064fd45fe1e10a5b8675b2ed459.zip
delete
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)
}