aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/c_utils.go1
-rw-r--r--src/i_ui.go1
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)