From ba18cd69d5d9bb185ebb0a8fc1ff48d1ab18dd50 Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 23 Apr 2024 20:20:20 +0200 Subject: up --- src/i_ui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/i_ui.go') diff --git a/src/i_ui.go b/src/i_ui.go index f327629..b19921b 100644 --- a/src/i_ui.go +++ b/src/i_ui.go @@ -667,7 +667,7 @@ func i_ui(data_dir string) { ui.dim[W], ui.dim[H], _ = term.GetSize(0) var load_err []error conf_dir := c_get_conf_dir(&load_err) - if conf_dir == "" { + if len(conf_dir) == 0 { opts = DEFAULT_OPTS } else { opts = c_get_options(conf_dir, &load_err) -- cgit v1.2.3