From 6f87d11137babef4757a29fb9cd7ad1ca94320e9 Mon Sep 17 00:00:00 2001 From: simon Date: Thu, 6 Mar 2003 12:52:36 +0000 Subject: [PATCH] Repair the delete-saved-session button (trivial braino). git-svn-id: svn://svn.tartarus.org/sgt/putty@2911 cda61777-01e9-0310-a592-d414129be87e --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.c b/config.c index 922bfa14..536e94ab 100644 --- a/config.c +++ b/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 { -- 2.11.0