~mdw
/
sgt
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
876e5d5
)
Repair the delete-saved-session button (trivial braino).
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 6 Mar 2003 12:52:36 +0000
(12:52 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 6 Mar 2003 12:52:36 +0000
(12:52 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@2911
cda61777
-01e9-0310-a592-
d414129be87e
config.c
patch
|
blob
|
blame
|
history
diff --git
a/config.c
b/config.c
index
922bfa1
..
536e94a
100644
(file)
--- 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) {
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 {
if (i <= 0) {
dlg_beep(dlg);
} else {