Commit 01e13ea1 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

comment fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2745 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 8 additions and 6 deletions
+8 -6
......@@ -159,7 +159,7 @@ CVS code -
cwd_tab_completion(), browser_init()
- Rename variable next to nextdir to avoid confusion. (DLR)
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
with a string that contains only part of a multibyte
character during tab completion. (DLR)
......
......@@ -28,6 +28,7 @@ AC_CONFIG_HEADERS([config.h])
AC_PREREQ(2.54)
dnl Checks for programs.
AC_GNU_SOURCE
AC_PROG_CC
AC_PROG_LN_S
......@@ -35,10 +36,12 @@ AC_ISC_POSIX
AC_SYS_LARGEFILE
dnl Internationalization macros.
AM_GNU_GETTEXT_VERSION(0.11.5)
AM_GNU_GETTEXT([external], [need-ngettext])
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h getopt.h libintl.h limits.h regex.h termios.h wchar.h wctype.h)
AC_CHECK_HEADER(regex.h,
......@@ -413,7 +416,6 @@ fi
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for library functions.
AC_TYPE_SIGNAL
AC_FUNC_VPRINTF
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
* 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. */
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));
/* Convert nulls to newlines. len is the string's real length
/* Convert nulls to newlines. buf_len is the string's real length
* here. */
unsunder(buf, buf_len);
......
......@@ -39,7 +39,7 @@
#include <limits.h>
#endif
/* Macros for the flags long. */
/* Macros for flags. */
#define SET(bit) flags |= bit
#define UNSET(bit) flags &= ~bit
#define ISSET(bit) ((flags & bit) != 0)
......
......@@ -156,7 +156,7 @@ extern bool curses_ended;
extern char *homedir;
/* Functions we want available. */
/* The functions we want available. */
/* Public functions in chars.c. */
#ifndef HAVE_ISBLANK
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment