nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit ca018c3e2328fc07bd7956c47b274c67ac3a7400
parent 2dbcc801bf4c51ebad2f8195153716f61f401e81
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Fri, 26 Nov 2004 20:14:19 +0000

in get_full_path(), remove unneeded NANO_SMALL #ifdef, so that it's
included whenever its prototype is, and so it can compile when
DISABLE_OPERATINGDIR isn't defined and NANO_SMALL is


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2138 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 5+++++
Msrc/files.c | 2+-
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -35,6 +35,11 @@ CVS code - file if uncutting leaves the cursor on the current one. This behavior appears to be a bug, as inserting a file in the same manner doesn't add an extra magicline. (DLR) +- files.c: + get_full_path() + - Remove unneeded NANO_SMALL #ifdef, so that it's included + whenever its prototype is, and so it can compile when + DISABLE_OPERATINGDIR isn't defined and NANO_SMALL is. (DLR) - global.c: shortcut_init() - Fix misplaced #endif keeping the "Full Justify" shortcut in diff --git a/src/files.c b/src/files.c @@ -959,7 +959,7 @@ bool close_open_file(void) } #endif /* ENABLE_MULTIBUFFER */ -#if !defined(DISABLE_SPELLER) || !defined(DISABLE_OPERATINGDIR) || !defined(NANO_SMALL) +#if !defined(DISABLE_SPELLER) || !defined(DISABLE_OPERATINGDIR) /* * When passed "[relative path]" or "[relative path][filename]" in * origpath, return "[full path]" or "[full path][filename]" on success,