aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_ui.go
diff options
context:
space:
mode:
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)