mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 04:22:34 +03:00
(check_file_access): return FALSE if Esc was pressed.
edit_query_dialog2() returns (-1) in this case. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
c3d1cf74d1
commit
c26c3cc4fd
@ -318,7 +318,7 @@ check_file_access (WEdit * edit, const vfs_path_t * filename_vpath, struct stat
|
||||
g_free (errmsg);
|
||||
errmsg = NULL;
|
||||
|
||||
if (act == 1)
|
||||
if (act != 0)
|
||||
ret = FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user