mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-26 14:51:36 +03:00
help: don't check for confinement when opening a temporary help-text file
This fixes https://savannah.gnu.org/bugs/?56369.
This commit is contained in:
parent
2f1691079e
commit
acd23551c3
@ -420,7 +420,7 @@ bool open_buffer(const char *filename, bool new_buffer)
|
||||
as_an_at = FALSE;
|
||||
|
||||
#ifdef ENABLE_OPERATINGDIR
|
||||
if (outside_of_confinement(filename, FALSE)) {
|
||||
if (!inhelp && outside_of_confinement(filename, FALSE)) {
|
||||
statusline(ALERT, _("Can't read file from outside of %s"),
|
||||
operating_dir);
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user