From ca018c3e2328fc07bd7956c47b274c67ac3a7400 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Fri, 26 Nov 2004 20:14:19 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ src/files.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 23670bc0..c0bcd87f 100644 --- 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 index d80512c4..c39a71bb 100644 --- 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, -- 2.39.5