wrap one reference to NANO_EXTCMD_KEY in a NANO_SMALL #ifdef

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1686 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey
2004-03-05 20:04:44 +00:00
parent a9cd41c42d
commit da35251e98
2 changed files with 8 additions and 1 deletions

View File

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