comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2745 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
68c10963c4
commit
01e13ea1c1
|
@ -159,7 +159,7 @@ CVS code -
|
||||||
cwd_tab_completion(), browser_init()
|
cwd_tab_completion(), browser_init()
|
||||||
- Rename variable next to nextdir to avoid confusion. (DLR)
|
- Rename variable next to nextdir to avoid confusion. (DLR)
|
||||||
input_tab()
|
input_tab()
|
||||||
- Since list is a bool, assign it FALSE instead of 0. (DLR)
|
- Since list is a bool, set it to FALSE instead of 0. (DLR)
|
||||||
- Add multibyte/wide character support, so that we don't end up
|
- Add multibyte/wide character support, so that we don't end up
|
||||||
with a string that contains only part of a multibyte
|
with a string that contains only part of a multibyte
|
||||||
character during tab completion. (DLR)
|
character during tab completion. (DLR)
|
||||||
|
|
|
@ -28,6 +28,7 @@ AC_CONFIG_HEADERS([config.h])
|
||||||
AC_PREREQ(2.54)
|
AC_PREREQ(2.54)
|
||||||
|
|
||||||
dnl Checks for programs.
|
dnl Checks for programs.
|
||||||
|
|
||||||
AC_GNU_SOURCE
|
AC_GNU_SOURCE
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_LN_S
|
AC_PROG_LN_S
|
||||||
|
@ -35,10 +36,12 @@ AC_ISC_POSIX
|
||||||
AC_SYS_LARGEFILE
|
AC_SYS_LARGEFILE
|
||||||
|
|
||||||
dnl Internationalization macros.
|
dnl Internationalization macros.
|
||||||
|
|
||||||
AM_GNU_GETTEXT_VERSION(0.11.5)
|
AM_GNU_GETTEXT_VERSION(0.11.5)
|
||||||
AM_GNU_GETTEXT([external], [need-ngettext])
|
AM_GNU_GETTEXT([external], [need-ngettext])
|
||||||
|
|
||||||
dnl Checks for header files.
|
dnl Checks for header files.
|
||||||
|
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
AC_CHECK_HEADERS(fcntl.h getopt.h libintl.h limits.h regex.h termios.h wchar.h wctype.h)
|
AC_CHECK_HEADERS(fcntl.h getopt.h libintl.h limits.h regex.h termios.h wchar.h wctype.h)
|
||||||
AC_CHECK_HEADER(regex.h,
|
AC_CHECK_HEADER(regex.h,
|
||||||
|
@ -413,7 +416,6 @@ fi
|
||||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||||
|
|
||||||
dnl Checks for library functions.
|
dnl Checks for library functions.
|
||||||
|
|
||||||
AC_TYPE_SIGNAL
|
AC_TYPE_SIGNAL
|
||||||
AC_FUNC_VPRINTF
|
AC_FUNC_VPRINTF
|
||||||
AC_CHECK_FUNCS(getopt_long)
|
AC_CHECK_FUNCS(getopt_long)
|
||||||
|
|
|
@ -167,7 +167,7 @@ bool is_punct_mbchar(const char *c)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Return TRUE for a multibyte character found in a word (currently only
|
/* Return TRUE for a multibyte character found in a word (currently only
|
||||||
* an alphanumeric or punctuation character, and the latter only if
|
* an alphanumeric or punctuation character, and only the latter if
|
||||||
* allow_punct is TRUE) and FALSE otherwise. */
|
* allow_punct is TRUE) and FALSE otherwise. */
|
||||||
bool is_word_mbchar(const char *c, bool allow_punct)
|
bool is_word_mbchar(const char *c, bool allow_punct)
|
||||||
{
|
{
|
||||||
|
|
|
@ -68,7 +68,7 @@ filestruct *read_line(char *buf, filestruct *prevnode, bool
|
||||||
{
|
{
|
||||||
filestruct *fileptr = (filestruct *)nmalloc(sizeof(filestruct));
|
filestruct *fileptr = (filestruct *)nmalloc(sizeof(filestruct));
|
||||||
|
|
||||||
/* Convert nulls to newlines. len is the string's real length
|
/* Convert nulls to newlines. buf_len is the string's real length
|
||||||
* here. */
|
* here. */
|
||||||
unsunder(buf, buf_len);
|
unsunder(buf, buf_len);
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Macros for the flags long. */
|
/* Macros for flags. */
|
||||||
#define SET(bit) flags |= bit
|
#define SET(bit) flags |= bit
|
||||||
#define UNSET(bit) flags &= ~bit
|
#define UNSET(bit) flags &= ~bit
|
||||||
#define ISSET(bit) ((flags & bit) != 0)
|
#define ISSET(bit) ((flags & bit) != 0)
|
||||||
|
|
|
@ -156,7 +156,7 @@ extern bool curses_ended;
|
||||||
|
|
||||||
extern char *homedir;
|
extern char *homedir;
|
||||||
|
|
||||||
/* Functions we want available. */
|
/* The functions we want available. */
|
||||||
|
|
||||||
/* Public functions in chars.c. */
|
/* Public functions in chars.c. */
|
||||||
#ifndef HAVE_ISBLANK
|
#ifndef HAVE_ISBLANK
|
||||||
|
|
Loading…
Reference in New Issue