diff --git a/ChangeLog b/ChangeLog index 04dae9b660113c51fc70f21c8761e5d04d6454a2..f5c4421e88a1b50915f21b53cc9b43096b8a4324 100644 --- a/ChangeLog +++ b/ChangeLog @@ -35,6 +35,9 @@ CVS code - - Port to the Tandem NonStop Kernel (nsr-tandem-nsk). (Tom Bates; minor tweaks by DLR) - files.c: + do_insertfile() + - Wrap one reference to NANO_EXTCMD_KEY in a NANO_SMALL #ifdef. + (DLR) add_open_files() - Make the saving of marked status in open_files->file_flags work properly again; a tweak to the ISSET() macro in 1.3.0 diff --git a/src/files.c b/src/files.c index d69c46b8734f6fcd953a80a4c99499ab3a40ac13..ea9dd368b9eee01ab1b2cb6369f84e93795fe4c5 100644 --- a/src/files.c +++ b/src/files.c @@ -524,7 +524,11 @@ int do_insertfile(int loading_file) #endif #ifndef DISABLE_OPERATINGDIR - if (i != NANO_EXTCMD_KEY && check_operating_dir(answer, 0) != 0) { + if ( +#ifndef NANO_SMALL + i != NANO_EXTCMD_KEY && +#endif + check_operating_dir(answer, 0) != 0) { statusbar(_("Can't insert file from outside of %s"), operating_dir); return 0;