diff options
author | Joe <rbo@gmx.us> | 2024-01-23 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-01-23 20:20:20 +0100 |
commit | 18d207ef1777d9c713192f39f671ae1902f8c94a (patch) | |
tree | 4cf77b9c23b1386f436e655a960841e5e143051d /src/i_ui.go | |
parent | good (diff) | |
download | hardflip-18d207ef1777d9c713192f39f671ae1902f8c94a.tar.gz hardflip-18d207ef1777d9c713192f39f671ae1902f8c94a.tar.bz2 hardflip-18d207ef1777d9c713192f39f671ae1902f8c94a.tar.xz hardflip-18d207ef1777d9c713192f39f671ae1902f8c94a.tar.zst hardflip-18d207ef1777d9c713192f39f671ae1902f8c94a.zip |
segv
Diffstat (limited to '')
-rw-r--r-- | src/i_ui.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/i_ui.go b/src/i_ui.go index ea2a593..83cdf4d 100644 --- a/src/i_ui.go +++ b/src/i_ui.go @@ -328,7 +328,9 @@ func i_load_ui(data_dir string, ui.mode = LOAD_MODE ldirs, load_err := c_load_data_dir(data_dir, opts, ui) litems := c_load_litems(ldirs) - ui.mode = NORMAL_MODE + if ui.mode != ERROR_MODE { + ui.mode = NORMAL_MODE + } if len(load_err) == 0 { load_err = nil } |