aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_ui.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-04-23 20:20:20 +0200
committerJoe <rbo@gmx.us>2024-04-23 20:20:20 +0200
commitba18cd69d5d9bb185ebb0a8fc1ff48d1ab18dd50 (patch)
tree3214b563c9630f45fcdd0958fd8c49fd42bbc003 /src/i_ui.go
parentwip (diff)
downloadhardflip-ba18cd69d5d9bb185ebb0a8fc1ff48d1ab18dd50.tar.gz
hardflip-ba18cd69d5d9bb185ebb0a8fc1ff48d1ab18dd50.tar.bz2
hardflip-ba18cd69d5d9bb185ebb0a8fc1ff48d1ab18dd50.tar.xz
hardflip-ba18cd69d5d9bb185ebb0a8fc1ff48d1ab18dd50.tar.zst
hardflip-ba18cd69d5d9bb185ebb0a8fc1ff48d1ab18dd50.zip
up
Diffstat (limited to 'src/i_ui.go')
-rw-r--r--src/i_ui.go2
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)