mirror of
https://github.com/mi57730/a2d.git
synced 2024-12-01 05:50:24 +00:00
Fix minor off-by-one bug in rename logic
This commit is contained in:
parent
245cf779f1
commit
15c03ebb70
@ -2591,11 +2591,13 @@ L5403: jsr close_window
|
||||
|
||||
finish_with_vols:
|
||||
ldx selected_vol_icon_count
|
||||
: lda selected_vol_icon_list,x ; BUG: off by one?
|
||||
jmp next_vol
|
||||
: lda selected_vol_icon_list,x
|
||||
sta drive_to_refresh ; icon number
|
||||
jsr cmd_check_single_drive_by_icon_number
|
||||
ldx selected_vol_icon_count
|
||||
dec selected_vol_icon_count
|
||||
next_vol:
|
||||
dex
|
||||
bpl :-
|
||||
jmp redraw_windows_and_desktop
|
||||
|
Loading…
Reference in New Issue
Block a user