But current code reload changed files without confirmation dialog.

That check was probably meant to be something like:
if (doc->changed || file_prefs.keep_edit_history_on_reload && (document_can_undo(doc) || document_can_redo(doc)))


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.