summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c5181dc)
[originally from svn r2911]
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 {