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-d3aeb78583b8master
parent
a9cd41c42d
commit
da35251e98
|
@ -35,6 +35,9 @@ CVS code -
|
||||||
- Port to the Tandem NonStop Kernel (nsr-tandem-nsk). (Tom
|
- Port to the Tandem NonStop Kernel (nsr-tandem-nsk). (Tom
|
||||||
Bates; minor tweaks by DLR)
|
Bates; minor tweaks by DLR)
|
||||||
- files.c:
|
- files.c:
|
||||||
|
do_insertfile()
|
||||||
|
- Wrap one reference to NANO_EXTCMD_KEY in a NANO_SMALL #ifdef.
|
||||||
|
(DLR)
|
||||||
add_open_files()
|
add_open_files()
|
||||||
- Make the saving of marked status in open_files->file_flags
|
- Make the saving of marked status in open_files->file_flags
|
||||||
work properly again; a tweak to the ISSET() macro in 1.3.0
|
work properly again; a tweak to the ISSET() macro in 1.3.0
|
||||||
|
|
|
@ -524,7 +524,11 @@ int do_insertfile(int loading_file)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef DISABLE_OPERATINGDIR
|
#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"),
|
statusbar(_("Can't insert file from outside of %s"),
|
||||||
operating_dir);
|
operating_dir);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue