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/e_events.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 'src/e_events.go')
-rw-r--r-- | src/e_events.go | 2 |
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 |