* filegui.c (check_progress_buttons): Reinitialize ret_value to
avoid old values after incomplete events. Reported by Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
Этот коммит содержится в:
родитель
89ba2277a9
Коммит
11b1447432
@ -1,3 +1,9 @@
|
||||
2002-10-24 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* filegui.c (check_progress_buttons): Reinitialize ret_value to
|
||||
avoid old values after incomplete events.
|
||||
Reported by Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
|
||||
|
||||
2002-10-24 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||
|
||||
* man2hlp.c (handle_link): Treat link name after \& as regular
|
||||
|
@ -170,6 +170,10 @@ check_progress_buttons (FileOpContext *ctx)
|
||||
c = get_event (&event, 0, 0);
|
||||
if (c == EV_NONE)
|
||||
return FILE_CONT;
|
||||
|
||||
/* Reinitialize to avoid old values after incomplete events */
|
||||
ui->op_dlg->ret_value = FILE_CONT;
|
||||
|
||||
dlg_process_event (ui->op_dlg, c, &event);
|
||||
switch (ui->op_dlg->ret_value) {
|
||||
case FILE_SKIP:
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user