(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:
Andrew Borodin 2013-09-29 08:54:47 +04:00
parent c3d1cf74d1
commit c26c3cc4fd

View File

@ -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;
}