in nano.h, remove the manual disabling of color support if regex.h isn't
found, as configure.ac now handles that git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3782 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
родитель
84b9f4bd17
Коммит
1e1117775f
@ -91,8 +91,8 @@ CVS code -
|
|||||||
not the first or last line of the edit window. (DLR, found by
|
not the first or last line of the edit window. (DLR, found by
|
||||||
Mike Frysinger)
|
Mike Frysinger)
|
||||||
- nano.h:
|
- nano.h:
|
||||||
- If we don't have nanorc support, disable color support, as it
|
- Remove the manual disabling of color support if regex.h isn't
|
||||||
depends on the use of the nanorc. (DLR)
|
found, as configure.ac now handles that. (DLR)
|
||||||
- winio.c:
|
- winio.c:
|
||||||
display_string()
|
display_string()
|
||||||
- Properly handle buf[start_index]'s being a null terminator.
|
- Properly handle buf[start_index]'s being a null terminator.
|
||||||
|
@ -138,12 +138,6 @@
|
|||||||
#define getline ngetline
|
#define getline ngetline
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* If we don't have regex or nanorc support, turn the color support off,
|
|
||||||
* as it depends on the use of both. */
|
|
||||||
#if !defined(HAVE_REGEX_H) || !defined(ENABLE_NANORC)
|
|
||||||
#undef ENABLE_COLOR
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* If we aren't using ncurses, turn the mouse support off, as it's
|
/* If we aren't using ncurses, turn the mouse support off, as it's
|
||||||
* ncurses-specific. */
|
* ncurses-specific. */
|
||||||
#ifndef NCURSES_MOUSE_VERSION
|
#ifndef NCURSES_MOUSE_VERSION
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user