diff options
author | Joe <rbo@gmx.us> | 2024-04-23 20:20:20 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-04-23 20:20:20 +0200 |
commit | ba18cd69d5d9bb185ebb0a8fc1ff48d1ab18dd50 (patch) | |
tree | 3214b563c9630f45fcdd0958fd8c49fd42bbc003 /src/i_ui.go | |
parent | wip (diff) | |
download | hardflip-ba18cd69d5d9bb185ebb0a8fc1ff48d1ab18dd50.tar.gz hardflip-ba18cd69d5d9bb185ebb0a8fc1ff48d1ab18dd50.tar.bz2 hardflip-ba18cd69d5d9bb185ebb0a8fc1ff48d1ab18dd50.tar.xz hardflip-ba18cd69d5d9bb185ebb0a8fc1ff48d1ab18dd50.tar.zst hardflip-ba18cd69d5d9bb185ebb0a8fc1ff48d1ab18dd50.zip |
up
Diffstat (limited to '')
-rw-r--r-- | src/i_ui.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |