mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-16 10:37:38 -05:00
Repair the delete-saved-session button (trivial braino).
[originally from svn r2911]
This commit is contained in:
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 {
|
||||
|
Reference in New Issue
Block a user