Add DB's real fix, and add do_disabled_msg to proto.h (whose code is this?)

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1372 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Chris Allegretta 2003-01-17 05:04:17 +00:00
parent d6c8d1a06d
commit 327abdab4a
3 changed files with 12 additions and 12 deletions

View File

@ -229,8 +229,8 @@ Changes
Also fix minor problem with search history where the current
search item could be at the bottom of the history twice in a
row under certain conditions. (DLR)
- Move down NANO_SMALL in tab check so nano won't complain if
just NANO_SMALL is defined (David Benbennick, presumed fix).
- Remove parens in NANO_CONTROL_I check so nano won't complain if
just NANO_SMALL is defined (David Benbennick).
edit_refresh()
- Miscellaneous cleanups that fix a bug where the screen
isn't updated after uncutting chunks of upwardly marked cut

View File

@ -250,6 +250,7 @@ int no_help(void);
#if defined(DISABLE_JUSTIFY) || defined(DISABLE_SPELLER) || defined(DISABLE_HELP) || defined(NANO_SMALL)
void nano_disabled_msg(void);
#endif
void do_preserve_msg(void);
#ifndef NANO_SMALL
RETSIGTYPE cancel_fork(int signal);
int open_pipe(const char *command);

View File

@ -334,7 +334,8 @@ int nanogetstr(int allowtabs, const char *buf, const char *def,
}
}
#ifndef DISABLE_TABCOMP
else {
else
#endif
#endif
#ifndef DISABLE_TABCOMP
if (allowtabs) {
@ -346,9 +347,7 @@ int nanogetstr(int allowtabs, const char *buf, const char *def,
if (x > xend)
x = xend;
}
}
#endif
#endif /* NANO_SMALL */
break;
case KEY_LEFT:
case NANO_BACK_KEY: