From 2e54711df0a7d064fd45fe1e10a5b8675b2ed459 Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 20 Dec 2023 20:20:20 +0100 Subject: delete --- c_hardflip.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'c_hardflip.go') 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) } -- cgit v1.2.3