diff options
| author | Joe <rbo@gmx.us> | 2023-12-21 20:20:20 +0100 | 
|---|---|---|
| committer | Joe <rbo@gmx.us> | 2023-12-21 20:20:20 +0100 | 
| commit | 9c07e9366991a960245f3e67c838064ec0d25868 (patch) | |
| tree | e2c58dd467f07de1eb0e889006ab94dd567e8448 /i_ui.go | |
| parent | fixed segv (diff) | |
| download | hardflip-9c07e9366991a960245f3e67c838064ec0d25868.tar.gz hardflip-9c07e9366991a960245f3e67c838064ec0d25868.tar.bz2 hardflip-9c07e9366991a960245f3e67c838064ec0d25868.tar.xz hardflip-9c07e9366991a960245f3e67c838064ec0d25868.tar.zst hardflip-9c07e9366991a960245f3e67c838064ec0d25868.zip  | |
fix
Diffstat (limited to '')
| -rw-r--r-- | i_ui.go | 4 | 
1 files changed, 2 insertions, 2 deletions
@@ -462,8 +462,8 @@ func i_ui(data *HardData) {  		}  		ui.s.Show()  		i_events(data) -		if ui.sel > ui.sel_max { -			ui.sel = ui.sel_max +		if ui.sel >= ui.sel_max { +			ui.sel = ui.sel_max - 1  		} else if ui.sel < 0 {  			ui.sel = 0  		}  | 
