mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-05-28 23:34:49 -05:00
Repair the delete-saved-session button (trivial braino).
[originally from svn r2911]
This commit is contained in:
parent
c5181dc498
commit
5376d94b96
2
config.c
2
config.c
@ -294,7 +294,7 @@ static void sessionsaver_handler(union control *ctrl, void *dlg,
|
||||
dlg_refresh(ssd->editbox, dlg);
|
||||
dlg_refresh(ssd->listbox, dlg);
|
||||
} else if (ctrl == ssd->delbutton) {
|
||||
int i = dlg_listbox_index(ctrl, dlg);
|
||||
int i = dlg_listbox_index(ssd->listbox, dlg);
|
||||
if (i <= 0) {
|
||||
dlg_beep(dlg);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user