commit 01e13ea1c1a0df314822199fb578dd189ffacc46
parent 68c10963c4e8c3533adde79a3111ded0c4385aa3
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Tue, 21 Jun 2005 04:16:12 +0000
comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2745 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
6 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -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)
diff --git a/configure.ac b/configure.ac
@@ -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)
diff --git a/src/chars.c b/src/chars.c
@@ -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)
{
diff --git a/src/files.c b/src/files.c
@@ -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);
diff --git a/src/nano.h b/src/nano.h
@@ -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)
diff --git a/src/proto.h b/src/proto.h
@@ -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