mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-09 21:12:07 +03:00
Clarify the comment.
This commit is contained in:
parent
935a2b4d4e
commit
ac200c18ba
@ -1,7 +1,7 @@
|
|||||||
2002-10-24 Pavel Roskin <proski@gnu.org>
|
2002-10-24 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* filegui.c (check_progress_buttons): Reinitialize ret_value to
|
* filegui.c (check_progress_buttons): Reinitialize ret_value to
|
||||||
avoid old values after incomplete events.
|
avoid old values after events other than selecting a button.
|
||||||
Reported by Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
|
Reported by Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
|
||||||
|
|
||||||
2002-10-24 Andrew V. Samoilov <sav@bcs.zp.ua>
|
2002-10-24 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||||
|
@ -171,7 +171,8 @@ check_progress_buttons (FileOpContext *ctx)
|
|||||||
if (c == EV_NONE)
|
if (c == EV_NONE)
|
||||||
return FILE_CONT;
|
return FILE_CONT;
|
||||||
|
|
||||||
/* Reinitialize to avoid old values after incomplete events */
|
/* Reinitialize to avoid old values after events other than
|
||||||
|
selecting a button */
|
||||||
ui->op_dlg->ret_value = FILE_CONT;
|
ui->op_dlg->ret_value = FILE_CONT;
|
||||||
|
|
||||||
dlg_process_event (ui->op_dlg, c, &event);
|
dlg_process_event (ui->op_dlg, c, &event);
|
||||||
|
Loading…
Reference in New Issue
Block a user