aboutsummaryrefslogtreecommitdiffstats
path: root/src/e_events.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/e_events.go')
-rw-r--r--src/e_events.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/e_events.go b/src/e_events.go
index 742aa41..b089a03 100644
--- a/src/e_events.go
+++ b/src/e_events.go
@@ -186,7 +186,7 @@ func e_reload_data(data *HardData) {
data.opts = c_get_options(conf_dir, &data.load_err)
}
data.data_dir = c_get_data_dir(&data.ui)
- if data.data_dir == "" {
+ if len(data.data_dir) == 0 {
return
}
g_load_count = -1