diff options
author | Joe <rbo@gmx.us> | 2024-05-17 20:20:20 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-05-17 20:20:20 +0200 |
commit | 9ae8cac98238f8c05ed0aa105082ba51a3a6749c (patch) | |
tree | 285d571df484d1b48a3651378daec905642af9d5 /src | |
parent | test (diff) | |
download | hardflip-9ae8cac98238f8c05ed0aa105082ba51a3a6749c.tar.gz hardflip-9ae8cac98238f8c05ed0aa105082ba51a3a6749c.tar.bz2 hardflip-9ae8cac98238f8c05ed0aa105082ba51a3a6749c.tar.xz hardflip-9ae8cac98238f8c05ed0aa105082ba51a3a6749c.tar.zst hardflip-9ae8cac98238f8c05ed0aa105082ba51a3a6749c.zip |
go
Diffstat (limited to 'src')
-rw-r--r-- | src/c_utils.go | 1 | ||||
-rw-r--r-- | src/i_ui.go | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/c_utils.go b/src/c_utils.go index 8d95a77..d95ac5a 100644 --- a/src/c_utils.go +++ b/src/c_utils.go @@ -86,6 +86,7 @@ func c_get_conf_dir(load_err *[]error) string { if err := os.MkdirAll(ptr, os.ModePerm); err != nil { *load_err = append(*load_err, err) } + return ptr } else if err != nil { *load_err = append(*load_err, err) return "" diff --git a/src/i_ui.go b/src/i_ui.go index 21df155..776988d 100644 --- a/src/i_ui.go +++ b/src/i_ui.go @@ -784,6 +784,7 @@ func i_ui(data_dir string) { opts = DEFAULT_OPTS } else { opts = c_get_options(conf_dir, &load_err) + // FIX: options not written correctly on welcome mode + void } styles := c_get_styles(conf_dir, &load_err) i_init_styles(&ui, styles) |