From 9ae8cac98238f8c05ed0aa105082ba51a3a6749c Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 17 May 2024 20:20:20 +0200 Subject: go --- src/c_utils.go | 1 + src/i_ui.go | 1 + 2 files changed, 2 insertions(+) (limited to 'src') 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) -- cgit v1.2.3