Clarify the comment.

This commit is contained in:
Pavel Roskin 2002-10-24 21:19:47 +00:00
parent 935a2b4d4e
commit ac200c18ba
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
2002-10-24 Pavel Roskin <proski@gnu.org>
* 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>
2002-10-24 Andrew V. Samoilov <sav@bcs.zp.ua>

View File

@ -171,7 +171,8 @@ check_progress_buttons (FileOpContext *ctx)
if (c == EV_NONE)
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;
dlg_process_event (ui->op_dlg, c, &event);